@Override
        public void postCreate()
        {
            r.registerCollection(CollectionSchema.MessageFactories.ArrayList, 1)
                    .registerCollection(CollectionSchema.MessageFactories.HashSet, 2)
                    .registerCollection(CustomArrayList.MESSAGE_FACTORY, 3)
                    .registerCollection(CollectionSchema.MessageFactories.LinkedList, 4)
                    .registerCollection(CollectionSchema.MessageFactories.TreeSet, 5);

            r.registerMap(MapSchema.MessageFactories.HashMap, 1)
                    .registerMap(MapSchema.MessageFactories.LinkedHashMap, 2)
                    .registerMap(CustomHashMap.MESSAGE_FACTORY, 3)
                    .registerMap(MapSchema.MessageFactories.TreeMap, 4);

            r.registerEnum(Size.class, 1)
                    .registerEnum(GuitarPickup.class, 2);

            r.registerPojo(AcousticGuitar.class, 1)
                    .registerPojo(BassGuitar.class, 2)
                    .registerPojo(Pojo.class, 3)
                    .registerPojo(PojoWithArray.class, 4)
                    .registerPojo(PojoWithArray2D.class, 5)
                    .registerPojo(PojoWithCollection.class, 6)
                    .registerPojo(PojoWithMap.class, 7)
                    .registerPojo(Bat.SCHEMA, Bat.PIPE_SCHEMA, 8)
                    .registerPojo(WrapsBat.class, 9)
                    .registerPojo(PojoWithCustomArrayListAndHashMap.class, 10)
                    .registerPojo(PojoWithClassFields.class, 11)
                    .registerPojo(PojoWithObjectCollectionFields.class, 12)
                    .registerPojo(PojoWithObjectCollectionNullKV.class, 13)
                    .registerPojo(PojoWithObjectMapFields.class, 14)
                    .registerPojo(PojoWithSingletonMapNullKV.class, 15)
                    .registerPojo(PojoWithThrowable.class, 16)
                    .registerPojo(Throwable.class, 17)
                    .registerPojo(Exception.class, 18)
                    .registerPojo(RuntimeException.class, 19)
                    .registerPojo(PojoWithThrowableArray.class, 20)
                    .registerPojo(PojoWithSingletonAsDelegate.class, 21)
                    .registerPojo(PojoWithShortArrayAsDelegate.class, 22)
                    .registerPojo(StackTraceElement.class, 23);

            r.registerDelegate(new ShortArrayDelegate(), 1);
            r.registerDelegate(SINGLETON_DELEGATE, 2);

            r = null;
        }
Test for {@link ExplicitIdStrategy}.

@author David Yu
@created Mar 29, 2012
protostuff-runtime-registry/src/test/java/io/protostuff/runtime/ExplicitRuntimeObjectSchemaTest.java