private void illegalTensorRemoveUpdate(String expectedMessage, String field, String ... jsonLines) {
        try {
            createTensorRemoveUpdate(inputJson(jsonLines), field);
            fail("Expected exception");
        }
        catch (IllegalArgumentException expected) {
            assertEquals(expectedMessage, Exceptions.toMessageString(expected));
        }
    }
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