PartitionStrategy strategy = new PartitionStrategy.Builder()
.identity("id")
.build();
StorageKey expected = new StorageKey(strategy);
expected.replace(0, 0L);
Assert.assertEquals("Should convert to schema type",
expected,
convert.toKey(new Path("id=0"), new StorageKey(strategy)));
}