public void testIt() throws Exception
    {
        // contains all fields
        DefaultIdStrategy primary = new DefaultIdStrategy();

        DefaultIdStrategy g1 = new DefaultIdStrategy(primary, GROUP1);
        DefaultIdStrategy g2 = new DefaultIdStrategy(primary, GROUP2);
        DefaultIdStrategy g3 = new DefaultIdStrategy(primary, GROUP3);

        verifyPrimary(primary);
        verifyGroup1(g1);
        verifyGroup2(g2);
        verifyGroup3(g3);
    }
The fields are filtered dependending on the Tag annotation {@link Tag#groupFilter()}.

@author David Yu
@created Feb 11, 2013
protostuff-runtime/src/test/java/io/protostuff/runtime/FilterFieldsByGroupTest.java