OutputValidator validator = unpackTestNG().sysProp( "profile", "emptyGroups" ).executeTest();
validator.verifyErrorFreeLog();
validator.assertTestSuiteResults( 8, 0, 0, 0 );
validator.verifyTextInLog( "catA: 2" );
validator.verifyTextInLog( "catB: 2" );
validator.verifyTextInLog( "catC: 0" );
validator.verifyTextInLog( "catNone: 1" );
validator.verifyTextInLog( "mA: 2" );
validator.verifyTextInLog( "mB: 2" );
validator.verifyTextInLog( "mC: 0" );
validator.verifyTextInLog( "NoCategoryTest.CatNone: 1" );