@Test
public void getTotalDurationTest() {

    Report report = mock(Report.class);
    when(report.getTotalDuration()).thenReturn(5000000000L);
    Report[] reports = new Report[]{report, report};
    allScenariosPageCollection.addReports(reports);
    long totalDuration = allScenariosPageCollection.getTotalDuration();
    assertThat(totalDuration, is(10000000000L));
}