for (Resource resourceUnderTest : foundResources) {
log.info(foundResources);
assert resourceUnderTest.getId() != 0 : "Resource not properly initialized. Id = 0. Try extending sleep after discovery.";
Configuration resourceUnderTestConfig = configurationManager
.loadResourceConfiguration(resourceUnderTest.getId());
Assert.assertNotNull(resourceUnderTestConfig);
Assert.assertFalse(resourceUnderTestConfig.getProperties().isEmpty());