for (ServiceBinding binding : bindings)
{
byFQN.put(binding.getFullyQualifiedName(), binding);
}
ServiceBinding aa = byFQN.get(AA.getFullyQualifiedName());
assertNotNull(aa);
assertEquals(AA.getServiceName(), aa.getServiceName());
assertEquals(AA.getBindingName(), aa.getBindingName());
assertEquals(AA.getDescription(), aa.getDescription());
assertEquals("192.168.0.10", aa.getHostName());
assertEquals(AA.getPort() + 30, aa.getPort());
ServiceBinding ab = byFQN.get(AB.getFullyQualifiedName());
assertNotNull(aa);
assertEquals(AB.getServiceName(), ab.getServiceName());
assertEquals(AB.getBindingName(), ab.getBindingName());
assertEquals(AB.getDescription(), ab.getDescription());
assertEquals("192.168.0.10", ab.getHostName());
assertEquals(AB.getPort() + 30, ab.getPort());
ServiceBinding anull = byFQN.get(Anull.getFullyQualifiedName());
assertNotNull(anull);
assertEquals(Anull.getServiceName(), anull.getServiceName());
assertEquals(Anull.getBindingName(), anull.getBindingName());
assertEquals(Anull.getDescription(), anull.getDescription());
assertEquals("192.168.0.10", anull.getHostName());
assertEquals(Anull.getPort() + 30, anull.getPort());
ServiceBinding newOne = byFQN.get(BA.getFullyQualifiedName());
assertNotNull(newOne);
assertEquals(BA.getServiceName(), newOne.getServiceName());
assertEquals(BA.getBindingName(), newOne.getBindingName());
assertEquals(BA.getDescription(), newOne.getDescription());
assertEquals("192.168.0.10", newOne.getHostName());
assertEquals(BA.getPort() + 30, newOne.getPort());
bindings = testee.getServiceBindings().get(B);
assertNotNull(bindings);
byFQN = new HashMap<String, ServiceBinding>();
for (ServiceBinding binding : bindings)