@Test
    public void emptyDocTest() throws IOException {
        Document doc = docFromJson("""
                                   {
                                     "put": "id:unittest:smoke::whee",
                                     "fields": { }
                                   }""");
        assertEquals(new Document(types.getDocumentType("smoke"), new DocumentId("id:unittest:smoke::whee")),
                     doc);
    }
Basic test of JSON streams to Vespa document instances.

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