RegistryCenter { public String loadInstanceData() { return repository.get(node.getProxyNodePath(instance.getInstanceId())); } RegistryCenter(final RegistryRepository registryRepository); void persistInstanceOnline(); void persistDataNodes(); void persistInstanceData(final String instanceData); String loadInstanceData(); Collection<String> loadDisabledDataSources(final String schemaName);  }
@Test public void assertLoadInstanceData() { registryCenter.loadInstanceData(); verify(registryRepository).get(anyString()); }