@Test
public void testGetMembersFromShardName() {

    Collection<MemberName> members = configuration.getMembersFromShardName("default");
    assertEquals("getMembersFromShardName", ImmutableSortedSet.of(MEMBER_1, MEMBER_2, MEMBER_3),
            ImmutableSortedSet.copyOf(members));
    members = configuration.getMembersFromShardName("cars-1");
    assertEquals("getMembersFromShardName", ImmutableSortedSet.of(MEMBER_1),
            ImmutableSortedSet.copyOf(members));
    // Try to find a shard which is not present
    members = configuration.getMembersFromShardName("foobar");
    assertEquals("getMembersFromShardName size", 0, members.size());
}