private Document createDocument() {
        return new Document(docMan.getDocumentType("foobar"), new DocumentId(documentId));
    }
Tests applying and serializing document updates.

@author Einar M R Rosenvinge
document/src/test/java/com/yahoo/document/DocumentUpdateTestCase.java