static EnumMap<Sequence, EnumSet<Sequence>> newSequenceEnumMap()
    {
        EnumMap<Sequence, EnumSet<Sequence>> firstEnumMap = new EnumMap<Sequence, EnumSet<Sequence>>(
                Sequence.class);

        for (Sequence s : Sequence.values())
        {
            firstEnumMap.put(s, EnumSet.of(s));
        }

        return firstEnumMap;
    }
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