private static void assertTensorModifyUpdate(String expectedTensor, TensorModifyUpdate.Operation expectedOperation,
                                                 boolean expectedCreateNonExistingCells,
                                                 String tensorFieldName, DocumentUpdate update) {
        assertTensorFieldUpdate(update, tensorFieldName);
        TensorModifyUpdate modifyUpdate = (TensorModifyUpdate) update.getFieldUpdate(tensorFieldName).getValueUpdate(0);
        assertEquals(expectedOperation, modifyUpdate.getOperation());
        assertEquals(Tensor.from(expectedTensor), modifyUpdate.getValue().getTensor().get());
        assertEquals(expectedCreateNonExistingCells, modifyUpdate.getCreateNonExistingCells());
    }
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