+ " \"type\": \"record\","
+ " \"doc\": \"Modified documentation\","
+ " \"fields\": []"
+ "}");
final SchemaHashCache cache = new SchemaHashCache();
final BytesKey key1 = cache.getHash(schema1);
assertEquals(key1, cache.getHash(schema1));
final BytesKey key1bis = cache.getHash(schema1bis);
final BytesKey key2 = cache.getHash(schema2);
assertEquals(key1, key1bis);
assertFalse(key1.equals(key2));
}