@Test(expected = IllegalArgumentException.class)
    public void testTooBigTag() throws Exception
    {
        RuntimeSchema.createFrom(TooBigTag.class);
    }
Simple serialization/deserialization test

@throws Exception
protostuff-runtime/src/test/java/io/protostuff/runtime/RuntimeSchemaTagTest.java