@Test
public void correct_decode_with_null_status() throws Exception {

  JsonNode json = mapper
      .readTree(
          "{\n"
              + "  \"name\": \"test_topic6\",\n"
              + "  \"topicName\": \"road.test_topic6\",\n"
              + "  \"type\":\"COMPACT\",\n"
              + "  \"status\": null,\n"
              + "  \"messageStatus\": null,\n"
              + "  \"deleted\": true\n"
              + "}");
  KafkaRoad road = reader.read(json);
  assertThat(road, is(new KafkaRoad("test_topic6", "road.test_topic6", RoadType.COMPACT, null, null, true)));
}