@Test
    public void testMatchUpdateArithmetic() {
        roundtripSerializeJsonAndMatch(inputJson(
                "{",
                "    'update': 'DOCUMENT_ID',",
                "    'fields': {",
                "        'int_array': {",
                "            'match': {",
                "                'element': 456,",
                "                'multiply': 8.0",
                "            }",
                "        }",
                "    }",
                "}"
        ));
    }
Tests roundtrip serialization (JSON -> DocumentUpdate -> Buffer -> DocumentUpdate -> JSON) of document updates.

@author Vegard Sjonfjell
document/src/test/java/com/yahoo/document/json/DocumentUpdateJsonSerializerTest.java