}
}
private void verifyRegistry(String... containerNames)
{
ContainerRegistry registry = regInst.get();
Assert.assertNotNull(
"Verify Containers registered",
registry.getContainers());
Assert.assertEquals(
"Verify " + containerNames.length + " Container(s) registrered",
containerNames.length, registry.getContainers().size());
for(int i = 0; i < containerNames.length; i++)
{
String containerName = containerNames[i];
Assert.assertEquals(
"Verify correct Container registrered",
containerName, registry.getContainers().get(i).getName());
}
}