@Test
    public void testRemoveUpdate() {
        roundtripSerializeJsonAndMatch(inputJson(
                "{",
                "    'update': 'DOCUMENT_ID',",
                "    'fields': {",
                "        'int_array': {",
                "            'remove': [",
                "                123,",
                "                789",
                "            ]",
                "        },",
                "        'string_array': {",
                "            'remove': [",
                "                'bjarne',",
                "                'rich'",
                "            ]",
                "        }",
                "    }",
                "}"
        ));
    }
Tests roundtrip serialization (JSON -> DocumentUpdate -> Buffer -> DocumentUpdate -> JSON) of document updates.

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