unpack().addGoal( "-Dprovider=surefire-junit47" ).setJUnitVersion( "4.8.1" ).addGoal(
"-DjunitVersion=4.8.1" ).executeTest().verifyErrorFreeLog(); // Todo: Fix junitVesion
assertResults( outputValidator );
outputValidator.verifyTextInLog( "testRunStarted null" );
outputValidator.verifyTextInLog( "testFinished simpleTest" );
outputValidator.verifyTextInLog( "testRunFinished org.junit.runner.Result" );
}
private void assertResults( OutputValidator outputValidator )
{
outputValidator.assertTestSuiteResults( 1, 0, 0, 0 );