// This cache instance does not go through UnitTestCacheFactory so we need to modify
// it's config explicitelly.
new UnitTestCacheFactory<String, String>().mangleConfiguration(c);
CacheJmxWrapperMBean<String, String> wrapper = registerWrapper(c);
wrapper.start();
Address addr = wrapper.getLocalAddress();
assertNotNull("Got an Address", addr);
List members = wrapper.getMembers();
assertNotNull("Got members", addr);
assertEquals("Got correct number of members", 1, members.size());
assertTrue("Got an IpAddress", wrapper.getLocalAddress() instanceof IpAddress);