MavenModuleSet m = createMavenProject("maven-render-test");
m.setScm(new ExtractResourceSCM(m.getClass().getResource("maven-test-failure-findbugs.zip")));
m.setGoals("clean test");
MavenModuleSetBuild b = assertBuildStatus(Result.UNSTABLE, m.scheduleBuild2(0).get());
MavenBuild modBuild = (MavenBuild)b.getModuleLastBuilds().get(m.getModule("test:test"));
TestResult tr = modBuild.getAction(SurefireReport.class).getResult();
assertEquals(1,tr.getFailedTests().size());
CaseResult cr = tr.getFailedTests().get(0);
assertEquals("test.AppTest",cr.getClassName());
assertEquals("testApp",cr.getName());
assertNotNull("Error details should not be null", cr.getErrorDetails());