@Test
public void testFromShardIdString() {

    String shardIdStr = "member-1-shard-inventory-config";
    ShardIdentifier id = ShardIdentifier.fromShardIdString(shardIdStr);
    assertEquals("member-1", id.getMemberName().getName());
    assertEquals("inventory", id.getShardName());
    assertEquals("config", id.getType());
}