@Test
public void getTotalDurationTest() {

    List<Element> elements = new ArrayList<>();
    Element element = new Element();
    List<Step> steps = new ArrayList<>();
    Step step = new Step();
    Result result = new Result();
    result.setDuration(10000000);
    step.setResult(result);
    steps.add(step);
    element.setSteps(steps);
    elements.add(element);
    report.setElements(elements);
    assertThat(report.getTotalDuration(), is(10000000L));
}