BitmexClientRegistry { public static BitmexClientRegistry getInstance() { if( registry == null ) { registry = new BitmexClientRegistry(); } return registry; } protected  BitmexClientRegistry(); static BitmexClientRegistry getInstance(); static void setTestClientRegistry( BitmexClientRegistry testRegistry ); void setProperties( BitmexProperties properties ); IBitmexClient getBitmexClient(); BitmexRestClient getRestClient(); BitmexWebsocketClient getWebsocketClient();  }
@Test public void testGetInstance() { assertEquals( registry, BitmexClientRegistry.registry); assertEquals( registry, BitmexClientRegistry.getInstance()); }