@UseDataProvider("invalidJson")
@Test(expected = JsonException.class)
public void failsParseInvalidJson(String jsonString) throws Exception {

    parser.parse(new InputStreamReader(new ByteArrayInputStream(jsonString.getBytes())));
}