public static Foo newFoo(Integer[] someInt, String[] someString,
            Bar[] someBar, EnumSample[] someEnum, ByteString[] someBytes,
            Boolean[] someBoolean, Float[] someFloat, Double[] someDouble,
            Long[] someLong)
    {

        return new Foo(Arrays.asList(someInt), Arrays.asList(someString),
                Arrays.asList(someBar), Arrays.asList(someEnum),
                Arrays.asList(someBytes), Arrays.asList(someBoolean),
                Arrays.asList(someFloat), Arrays.asList(someDouble),
                Arrays.asList(someLong));
    }
The objects to be tested.

@author David Yu
@created Nov 13, 2009
protostuff-runtime/src/test/java/io/protostuff/runtime/SerializableObjects.java