@Test
public void testReadEmptyInput() throws
                                 Exception {

    // given a JSON string
    final String json = TestHelper.getFixture("input_empty.json");
    // when read this JSON string
    final StringReader reader = new StringReader(json);
    final DummyInput input = (DummyInput) inputJsonReader.read(reader);
    verify(onInputJsonReaderListener,
           never()).readAdditionalInputData(any(JsonReader.class),
                                            any(String.class),
                                            any(DummyInput.class));
    verify(onInputJsonReaderListener,
           never()).readAdditionalTaxonData(any(JsonReader.class),
                                            any(String.class),
                                            any(DummyTaxon.class));
    // then
    assertNotNull(input);
    assertEquals(2,
                 input.getInputId());
    assertEquals(InputType.FAUNA,
                 input.getType());
    final Calendar calendar = Calendar.getInstance();
    calendar.clear();
    calendar.set(Calendar.YEAR,
                 2015);
    calendar.set(Calendar.MONTH,
                 Calendar.NOVEMBER);
    calendar.set(Calendar.DAY_OF_MONTH,
                 19);
    assertEquals(calendar.getTime(),
                 input.getDate());
    assertNull(input.getQualification());
    assertEquals(0,
                 input.getObservers()
                      .size());
    assertEquals(0,
                 input.getTaxa()
                      .size());
    assertEquals(-1,
                 input.getCurrentSelectedTaxonId());
}