@Test
public void testDefaultLookoutClient_addRegsitry() throws Exception {

    LookoutConfig lookoutConfig = new LookoutConfig();
    DefaultLookoutClient client = new DefaultLookoutClient("demo");
    LookoutRegistry lookoutRegistry = new LookoutRegistry(lookoutConfig);
    client.addRegistry(lookoutRegistry);
    client.addRegistry(new DefaultRegistry(lookoutConfig));
    Assert.assertEquals(2, ((CompositeRegistry) client.getRegistry()).getRegistries().size());
    client.close();
}