@Before
    public void setUp() {
        var sub = DocumentTypeManagerConfigurer.configure
            (docMan, "file:src/tests/serialization/annotation.serialize.test.cfg");
        sub.close();
    }
Tests that serialization of annotations from Java generates the
output expected by the C++ deserialization system.

If the format changes and this test starts failing, you should
generate new golden files to check against. This will cause the C++
test to fail, so you will need to update the
AnnotationDeserialization component to handle the format changes.
document/src/test/java/com/yahoo/document/serialization/SerializeAnnotationsTestCase.java