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

        return new Foo(
                Arrays.asList(someInt),
                Arrays.asList(someString),
                null,
                Arrays.asList(someEnum),
                Arrays.asList(someBytes),
                Arrays.asList(someBoolean),
                Arrays.asList(someFloat),
                Arrays.asList(someDouble),
                Arrays.asList(someLong));
    }
Base test class for simple pojos that have scalar fields (no nested messages/pojos).

@author David Yu
@created Dec 2, 2010
protostuff-kvp/src/test/java/io/protostuff/NoNestedMessageTest.java