@Test
public void readStatusTest() throws IOException {

    when(parser.readStatus(reader)).thenCallRealMethod();
    when(reader.nextString()).thenReturn("OK", "ZERO_RESULTS", "OVER_QUERY_LIMIT", "REQUEST_DENIED", "INVALID_REQUEST", "skip");
    assertEquals(Status.OK, parser.readStatus(reader));
    assertEquals(Status.ZERO_RESULTS, parser.readStatus(reader));
    assertEquals(Status.OVER_QUERY_LIMIT, parser.readStatus(reader));
    assertEquals(Status.REQUEST_DENIED, parser.readStatus(reader));
    assertEquals(Status.INVALID_REQUEST, parser.readStatus(reader));
    assertNull(parser.readStatus(reader));
}