@Test
public void readDateTimePairTest() throws IOException {

    when(parser.readDateTimePair(reader)).thenCallRealMethod();
    when(reader.hasNext()).thenReturn(true, true, true, false);
    when((reader.nextName())).thenReturn("day", "time", "skip");
    when((reader.nextString())).thenReturn("one", "two");
    DateTimePair expected = new DateTimePair("one", "two");
    DateTimePair actual = parser.readDateTimePair(reader);
    assertEquals(expected, actual);
}