@Test
public void testLookup() throws Exception {

    RegistryService registryService = mock(ConsulRegistryServiceImpl.class);
    registryService.lookup("test-key");
    verify(registryService).lookup("test-key");
}