@Test
public void testGetJUnitTestResult_whenMavenProjectUseMavenPluginsSurefireAggregatedReport()
{
final AggregatedTestResultAction surefireAggregatedReport = mock( AggregatedTestResultAction.class );
final ChildReport childReport1 = mockChildReport();
final ChildReport childReport2 = mockChildReport();
when( surefireAggregatedReport.getChildReports() ).thenReturn(
new LinkedList<AggregatedTestResultAction.ChildReport>()
{{
add( childReport1 );
add( childReport2 );