### Question:
ClientRegistry implements IClientRegistry, ClientRegistryMBean { public ClientList<Client> getClientList() { ClientList<Client> list = new ClientList<Client>(); for (IClient c : clients.values()) { list.add((Client) c); } return list; } 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();  }### Answer:
@Test public void testGetClientList() { ClientList<Client> clients = reg.getClientList(); int listSize = clients.size(); Assert.assertTrue(listSize > 0); System.out.println("List size: " + listSize); for (int c = 0; c < listSize; c++) { Client client = clients.get(c); System.out.println(client); Assert.assertTrue(client.getId() != null); } }