@Test
    public void testRaw() throws IOException {
        String base64 = new String(new JsonStringEncoder().quoteAsString(
                Base64.getEncoder().withoutPadding().encodeToString(Utf8.toBytes("smoketest"))));
        String s = fieldStringFromBase64RawContent(base64);
        assertEquals("smoketest", s);
    }
Basic test of JSON streams to Vespa document instances.

@author Steinar Knutsen
@author bratseth
document/src/test/java/com/yahoo/document/json/JsonReaderTestCase.java