static PojoWithInts filledPojoWithInts(int i, int ni, long j, long nj)
    {
        assertTrue(i >= 0);
        assertTrue(j >= 0);

        PojoWithInts p = new PojoWithInts();
        p.setSomeInt32(i);
        p.setSomeUint32(i);
        p.setSomeFixed32(i);
        p.setSomeSint32(ni);
        p.setSomeSfixed32(ni);

        p.setSomeInt64(j);
        p.setSomeUint64(j);
        p.setSomeFixed64(j);
        p.setSomeSint64(nj);
        p.setSomeSfixed64(nj);

        return p;
    }
Tests for various protobuf int flavors.

@author David Yu
@created Feb 14, 2011
protostuff-core/src/test/java/io/protostuff/IntTest.java