@Test
public void testParseResponseError() throws IOException {

    try (InputStream in = getClass().getResourceAsStream("/responseError.json")) {
        Response response = monitor.parse(in);
        assertEquals("1.0", response.getVersion());
        assertEquals("ERROR", response.getStatus());
        assertEquals("No such API key", response.getStatusMessage());
        assertNull(response.getResult());
    }
}