static void verifyPart(Message part)
    {
        assertNotNull(part.getParentMessage());

        Annotation owner = part.getAnnotation("Owner");
        assertNotNull(owner);

        assertTrue(owner.getValue("type") == part.getParentMessage());

        assertTrue(part.getOptions().get("owner") == part.getParentMessage());
    }
Test for references configured via options and annotations.

@author David Yu
@created Dec 22, 2011
protostuff-parser/src/test/java/io/protostuff/parser/ConfiguredReferenceTest.java