@Test
public void testInit() throws Exception
{

    registry.init();
    verify( hostUpdater )
            .scheduleWithFixedDelay( any( Runnable.class ), anyLong(), anyLong(), any( TimeUnit.class ) );
    assertNotSame( hosts, registry.hosts );
}