public void testEmptyBazDelimited() throws Exception
    {
        Baz bazCompare = new Baz();

        ByteArrayOutputStream out = new ByteArrayOutputStream();
        writeDelimitedTo(out, bazCompare);
        byte[] data = out.toByteArray();

        ByteArrayInputStream in = new ByteArrayInputStream(data);
        Baz baz = new Baz();
        mergeDelimitedFrom(in, baz, baz.cachedSchema());

        SerializableObjects.assertEquals(baz, bazCompare);
    }
Foo shares field numbers (and type) with Bar except that foo's fields are all repeated (w/c is alright). Bar also
shares the same field and type (1&2) with Baz.
protostuff-core/src/test/java/io/protostuff/SerDeserTest.java