private static void assertTensorFieldUpdate(DocumentUpdate update, String tensorFieldName) {
        assertEquals("testtensor", update.getId().getDocType());
        assertEquals(TENSOR_DOC_ID, update.getId().toString());
        assertEquals(1, update.fieldUpdates().size());
        assertEquals(1, update.getFieldUpdate(tensorFieldName).size());
    }
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