@Test public void empty() { for (String arg : new String[] { "", null }) { AgentConfiguration config = new AgentConfiguration(agentIds, arg); assertNull(config.getArgs("jolokia")); } }
public String getArgs(String agentId) { return arguments.getProperty(agentId); }
AgentConfiguration { public String getArgs(String agentId) { return arguments.getProperty(agentId); } }
AgentConfiguration { public String getArgs(String agentId) { return arguments.getProperty(agentId); } AgentConfiguration(Set<String> agents, String args); }
AgentConfiguration { public String getArgs(String agentId) { return arguments.getProperty(agentId); } AgentConfiguration(Set<String> agents, String args); String getArgs(String agentId); }
AgentConfiguration { public String getArgs(String agentId) { return arguments.getProperty(agentId); } AgentConfiguration(Set<String> agents, String args); String getArgs(String agentId);  }