static void fill(PojoWithByteString pwbs)
    {
        pwbs.bytes = bs("1");

        pwbs.bytesList = newList();
        pwbs.bytesList.add(bs("2"));
        pwbs.bytesList.add(bs("3"));

        pwbs.scalarKeyMap = newMap();
        pwbs.scalarKeyMap.put(1, bs("4"));
        pwbs.scalarKeyMap.put(2, bs("5"));

        pwbs.enumKeyMap = newMap();
        pwbs.enumKeyMap.put(Direction.EAST, bs("6"));
        pwbs.enumKeyMap.put(Direction.WEST, bs("7"));

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

        pwbs.scalarValueMap = newMap();
        pwbs.scalarValueMap.put(bs("10"), 1);
        pwbs.scalarValueMap.put(bs("11"), 2);

        pwbs.enumValueMap = newMap();
        pwbs.enumValueMap.put(bs("12"), Direction.EAST);
        pwbs.enumValueMap.put(bs("13"), Direction.WEST);

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

        pwbs.bytesMap = newMap();
        pwbs.bytesMap.put(bs("16"), bs("17"));
        pwbs.bytesMap.put(bs("18"), bs("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