public void testGraph()
    {
        System.err.println(RuntimeEnv.COLLECTION_SCHEMA_ON_REPEATED_FIELDS);

        Bean bean = fill(new Bean());

        verify(bean);

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

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

        verify(deBean);
    }
Test cyclic ser/deser on fields where the type is dynamic.

@author David Yu
@created Oct 20, 2011
protostuff-runtime/src/test/java/io/protostuff/runtime/ObjectSchemaTest.java