@Test(expected = AgentConfigurationException.class) public void exceptionThrowIfNoUserIsProvided() throws AgentConfigurationException { AbstractSplunkInternalHandler internalHandler = new DummySplunkInternalHandler(); internalHandler.setPass("testPass"); internalHandler.setHost("127.0.0.1"); internalHandler.setPort(8089); internalHandler.setScheme("https"); internalHandler.setSslSecurityProtocol("TLSv1_2"); internalHandler.setSplunkIndexName("main"); internalHandler.setSplunkSource("mule"); internalHandler.setSplunkSourceType("mule"); new RestTransportConfig.Builder(internalHandler).build(); }
public void setPass(String pass) { this.pass = pass; }
RestTransportConfig extends HttpBasedSplunkConfig { public void setPass(String pass) { this.pass = pass; } }
RestTransportConfig extends HttpBasedSplunkConfig { public void setPass(String pass) { this.pass = pass; }  }
RestTransportConfig extends HttpBasedSplunkConfig { public void setPass(String pass) { this.pass = pass; }  String getUser(); void setUser(String user); String getPass(); void setPass(String pass); @Override String toString(); }
RestTransportConfig extends HttpBasedSplunkConfig { public void setPass(String pass) { this.pass = pass; }  String getUser(); void setUser(String user); String getPass(); void setPass(String pass); @Override String toString();  }