static void verifyCondition(EnumGroup condition)
    {
        assertNotNull(condition.getParentMessage());

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

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

        assertTrue(condition.getOptions().get("owner") == condition.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