@Test
    public void testAssignUpdateOfEmptyDenseTensor() {
        try {
            assertTensorAssignUpdateSparseField("tensor(x{},y{}):{}", createAssignUpdateWithTensor("{}", "dense_unbound_tensor"));
        }
        catch (IllegalArgumentException e) {
            assertEquals("An indexed tensor must have a value",
                         "Error in 'dense_unbound_tensor': Tensor of type tensor(x[],y[]) has no values",
                         Exceptions.toMessageString(e));
        }
    }
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