@Test public void testFactory() { assertNotNull(factory); assertSame(factory, ClientFactory.getInstance()); }
public static final ClientFactory getInstance() { if (factory == null) factory = new ClientFactory(); return factory; }
ClientFactory { public static final ClientFactory getInstance() { if (factory == null) factory = new ClientFactory(); return factory; } }
ClientFactory { public static final ClientFactory getInstance() { if (factory == null) factory = new ClientFactory(); return factory; } private  ClientFactory(); }
ClientFactory { public static final ClientFactory getInstance() { if (factory == null) factory = new ClientFactory(); return factory; } private  ClientFactory(); static final ClientFactory getInstance(); final Client getClient(ClientType type); }
ClientFactory { public static final ClientFactory getInstance() { if (factory == null) factory = new ClientFactory(); return factory; } private  ClientFactory(); static final ClientFactory getInstance(); final Client getClient(ClientType type);  }