@Test
public void getTotalDurationStringTest() {

    Report report = mock(Report.class);
    when(report.getTotalDuration()).thenReturn(5000000000L);
    Report[] reports = new Report[]{report};
    allScenariosPageCollection.addReports(reports);
    assertThat(allScenariosPageCollection.getTotalDurationString(), is("0m 05s 000ms"));
}