public void testBaz() throws Exception
    {
        Schema<Baz> schema = RuntimeSchema.getSchema(Baz.class);
        Pipe.Schema<Baz> pipeSchema = ((RuntimeSchema<Baz>) schema).getPipeSchema();

        Baz baz = SerializableObjects.baz;

        protobufRoundTrip(baz, schema, pipeSchema, false);
        protostuffRoundTrip(baz, schema, pipeSchema, false);

        // numeric
        protobufRoundTrip(baz, schema, pipeSchema, true);
        protostuffRoundTrip(baz, schema, pipeSchema, true);
    }
Test case for json runtime pipes.

@author David Yu
@created Jan 16, 2011
protostuff-json/src/test/java/io/protostuff/JsonRuntimePipeTest.java