@Test
  public void testDeserializeUnknownTaskModelField() throws IOException {
    ObjectNode jobModelJson = buildJobModelJson();
    ObjectNode taskModelJson = (ObjectNode) jobModelJson.get("containers").get("1").get("tasks").get("test");
    taskModelJson.put("unknown_task_model_key", "unknown_task_model_value");
    assertEquals(this.jobModel, deserializeFromObjectNode(jobModelJson));
  }
Given a {@link ContainerModel} JSON with an unknown field, deserialization should properly ignore it.
samza-core/src/test/java/org/apache/samza/serializers/model/TestSamzaObjectMapper.java