{
OutputValidator validator = unpackJUnit().groups( "junit4.CategoryA&&junit4.CategoryB" ).executeTest();
validator.verifyErrorFreeLog();
validator.assertTestSuiteResults( 2, 0, 0, 0 );
validator.verifyTextInLog( "catA: 1" );
validator.verifyTextInLog( "catB: 1" );
validator.verifyTextInLog( "catC: 0" );
validator.verifyTextInLog( "catNone: 0" );
validator.verifyTextInLog( "mA: 1" );
validator.verifyTextInLog( "mB: 1" );
validator.verifyTextInLog( "mC: 0" );