private void initFactory(Collection<Address> addresses) {
int ix = 0;
for (Address address : addresses) {
addressMap.put(ix++, address);
}
<BUG>this.registry = new TestNodeRegistry(addressMap.values());
</BUG>
}
public HazelcastInstance newHazelcastInstance() {
return newHazelcastInstance((Config) null);

private void initFactory(Collection<Address> addresses) {
int ix = 0;
for (Address address : addresses) {
addressMap.put(ix++, address);
}
this.registry = new TestNodeRegistry(Collections.unmodifiableCollection(addressMap.values()));
}
public HazelcastInstance newHazelcastInstance() {
return newHazelcastInstance((Config) null);
