static void fill(PojoWithByteArray pwba)
    {
        pwba.bytes = ba("1");

        pwba.bytesList = newList();
        pwba.bytesList.add(ba("2"));
        pwba.bytesList.add(ba("3"));

        pwba.scalarKeyMap = newMap();
        pwba.scalarKeyMap.put(1, ba("4"));
        pwba.scalarKeyMap.put(2, ba("5"));

        pwba.enumKeyMap = newMap();
        pwba.enumKeyMap.put(Direction.EAST, ba("6"));
        pwba.enumKeyMap.put(Direction.WEST, ba("7"));

        pwba.pojoKeyMap = newMap();
        pwba.pojoKeyMap.put(new Baz(1, "bz1", 0), ba("8"));
        pwba.pojoKeyMap.put(new Baz(2, "bz2", 0), ba("9"));

        pwba.scalarValueMap = newMap();
        pwba.scalarValueMap.put(ba("10"), 1);
        pwba.scalarValueMap.put(ba("11"), 2);

        pwba.enumValueMap = newMap();
        pwba.enumValueMap.put(ba("12"), Direction.EAST);
        pwba.enumValueMap.put(ba("13"), Direction.WEST);

        pwba.pojoValueMap = newMap();
        pwba.pojoValueMap.put(ba("14"), new Baz(1, "bz1", 0));
        pwba.pojoValueMap.put(ba("15"), new Baz(2, "bz2", 0));

        pwba.bytesMap = newMap();
        pwba.bytesMap.put(ba("16"), ba("17"));
        pwba.bytesMap.put(ba("18"), ba("19"));
    }
Test that the runtime schema would have the same output as hand-coded/code-generated schema.

@author David Yu
protostuff-runtime/src/test/java/io/protostuff/runtime/CompatTest.java