static void verify(Bean bean)
    {
        assertEquals(bean.name, "bean");

        assertNotNull(bean.firstEnumSet);
        assertNull(bean.secondEnumSet);

        assertEquals(EnumSet.allOf(Sequence.class), bean.firstEnumSet);

        assertNotNull(bean.firstEnumMap);
        assertNull(bean.secondEnumMap);

        assertTrue(bean.firstEnumMap.size() == Sequence.values().length);

        assertEquals(newSequenceEnumMap(), bean.firstEnumMap);

        assertNotNull(bean.firstSet);
        assertNull(bean.secondSet);
        assertEquals(newSequenceSet(), bean.firstSet);

        assertNotNull(bean.firstMap);
        assertNull(bean.secondMap);
        assertEquals(newSequenceMap(), bean.firstMap);
    }
Test ser/deser of pojos with {@link EnumSet} and {@link EnumMap} fields.

@author David Yu
@created Feb 9, 2011
protostuff-runtime/src/test/java/io/protostuff/runtime/EnumSetAndMapTest.java