@Test
/** Test that schemas which don't have stable reparsing, we add all MD5's */
public void testUpdateMd5Index()
{

  final String schemaStr = "{\"type\":\"record\",\"name\":\"A\",\"fields\":[" +
      "{\"name\":\"J\",\"type\":\"string\",\"J1\":\"V1\",\"indexType\":\"V2\",\"d\":" +
      "\"V3\",\"J3\":\"10000\"}]}";
  VersionedSchemaSet vschemaSet = new VersionedSchemaSet(true);
  vschemaSet.add("testSchema", (short)1, schemaStr);
  Assert.assertEquals(vschemaSet.getIdToSchema().size(), 2);
  vschemaSet.add("TestSchema", (short)3, TEST_SCHEMA3_TEXT);
  Assert.assertEquals(vschemaSet.getIdToSchema().size(), 3);
  for (Map.Entry<SchemaId, VersionedSchema> e: vschemaSet.getIdToSchema().entrySet())
  {
    System.out.println(String.format("ids[%s] -> %s.%d", e.getKey(), e.getValue().getSchemaBaseName(),
                                     e.getValue().getVersion()));
  }
}