@Test
    @Timeout(300)
    void testThatTheJsonValidatorCanCatchErrors() {
        String json = "{"
                + "    \"root\": {"
                + "        \"invalidvalue\": 1adsf,"
                + "    }"
                + "}";
        assertEquals(
                "Unexpected character ('a' (code 97)): was expecting comma to separate Object entries\n" +
                        " at [Source: (String)\"{    \"root\": {        \"invalidvalue\": 1adsf,    }}\"; line: 1, column: 40]",
                validateJSON(json));
    }
Functional testing of {@link JsonRenderer}.

@author Steinar Knutsen
@author bratseth
container-search/src/test/java/com/yahoo/search/rendering/JsonRendererTestCase.java