Member remoteMember2 = new Member(new MemberConfig("baz"));
remoteMembers.add(remoteMember1);
remoteMembers.add(remoteMember2);
config.setRemoteMembers(remoteMembers);
Cluster<Member> cluster = new LocalCluster(config);
ClusterManager<Member> clusterManager = new ClusterManager<>(cluster, new LocalProtocol());
assertEquals(localMember, clusterManager.localNode().member());
assertEquals(2, clusterManager.remoteNodes().size());
assertEquals(remoteMember1, clusterManager.remoteNode("bar").member());
assertEquals(remoteMember2, clusterManager.remoteNode("baz").member());
Member remoteMember3 = new Member(new MemberConfig("foobarbaz"));