@Test
public void registerSchema_defaultCompatibilityModeWouldFail() throws Exception {

  road1.setCompatibilityMode(SchemaCompatibility.CAN_BE_READ_BY_LATEST.name());
  client.registerSchema("road1", schema3);
  client.registerSchema("road1", schema4);
  Map<Integer, SchemaVersion> schemas = store.get("road1").getSchemas();
  assertThat(schemas.size(), is(2));
}