@Test public void testAddClient() { reg.addClient(new Client(reg.nextId(), reg)); Assert.assertNotNull(reg.getClient("1")); Assert.assertTrue(reg.getClients().size() >= 1); }
protected void addClient(IClient client) { addClient(client.getId(), client); }
ClientRegistry implements IClientRegistry, ClientRegistryMBean { protected void addClient(IClient client) { addClient(client.getId(), client); } }
ClientRegistry implements IClientRegistry, ClientRegistryMBean { protected void addClient(IClient client) { addClient(client.getId(), client); } ClientRegistry();  ClientRegistry(String name); }
ClientRegistry implements IClientRegistry, ClientRegistryMBean { protected void addClient(IClient client) { addClient(client.getId(), client); } ClientRegistry();  ClientRegistry(String name); Client getClient(String id); ClientList<Client> getClientList(); boolean hasClient(String id); IClient lookupClient(String id); IClient newClient(Object[] params); String nextId(); String previousId(); }
ClientRegistry implements IClientRegistry, ClientRegistryMBean { protected void addClient(IClient client) { addClient(client.getId(), client); } ClientRegistry();  ClientRegistry(String name); Client getClient(String id); ClientList<Client> getClientList(); boolean hasClient(String id); IClient lookupClient(String id); IClient newClient(Object[] params); String nextId(); String previousId();  }