assertNull(root.getProxyController(PathAddress.pathAddress(profileB)));
assertNull(root.getProxyController(PathAddress.pathAddress(profileB, PathElement.pathElement("a", "b"))));
PathAddress address = PathAddress.pathAddress(profileB, proxyA);
ProxyController proxy = root.getProxyController(address);
assertNotNull(proxy);
assertEquals(address, proxy.getProxyNodeAddress());
address = PathAddress.pathAddress(profileB, proxyB);
proxy = root.getProxyController(address);
assertNotNull(proxy);
assertEquals(address, proxy.getProxyNodeAddress());
address = PathAddress.pathAddress(profileB, proxyA, PathElement.pathElement("a", "b"), PathElement.pathElement("c", "d"));
proxy = root.getProxyController(address);
assertNotNull(proxy);
assertEquals(PathAddress.pathAddress(profileB, proxyA), proxy.getProxyNodeAddress());
address = PathAddress.pathAddress(proxyA);
proxy = root.getProxyController(address);
assertNotNull(proxy);
assertEquals(address, proxy.getProxyNodeAddress());
address = PathAddress.pathAddress(proxyB);
proxy = root.getProxyController(address);
assertNotNull(proxy);
assertEquals(address, proxy.getProxyNodeAddress());
address = PathAddress.pathAddress(proxyA, PathElement.pathElement("a", "b"), PathElement.pathElement("c", "d"));
proxy = root.getProxyController(address);
assertNotNull(proxy);
assertEquals(PathAddress.pathAddress(proxyA), proxy.getProxyNodeAddress());
}