@Test
    public void requireThatUnknownDocTypeThrowsIllegalArgumentException() {
        String jsonData = """
                          [
                            {
                              "put": "id:ns:walrus::walrus1",
                              "fields": {
                                "aField": 42
                              }
                            }
                          ]
                          """;
        try {
            new JsonReader(types, jsonToInputStream(jsonData), parserFactory).next();
            fail();
        } catch (IllegalArgumentException e) {
            assertEquals("Document type walrus does not exist", e.getMessage());
        }
    }
Tests parsing of various tensor values set at the root, i.e. no 'cells', 'blocks' or 'values'
document/src/test/java/com/yahoo/document/json/JsonReaderTestCase.java