static void doBean(IdStrategy strategy)
    {
        Bean bean = fill(new Bean());

        verify(bean);

        Schema<Bean> schema = RuntimeSchema.getSchema(Bean.class, strategy);
        // print(schema);
        byte[] bytes = ProtostuffIOUtil.toByteArray(bean, schema,
                LinkedBuffer.allocate(256));

        Bean deBean = new Bean();
        ProtostuffIOUtil.mergeFrom(bytes, deBean, schema);

        verify(deBean);
    }
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