@Test
public void getEndDateTimeTest() {

    element.setStartTimestamp("2019-04-11T08:00:23.668Z");
    List<com.trivago.cluecumber.json.pojo.ResultMatch> beforeSteps = new ArrayList<>();
    com.trivago.cluecumber.json.pojo.ResultMatch before = new com.trivago.cluecumber.json.pojo.ResultMatch();
    Result beforeResult = new Result();
    beforeResult.setDuration(10000000000000L);
    before.setResult(beforeResult);
    beforeSteps.add(before);
    element.setBefore(beforeSteps);
    assertThat(element.getEndDateTime().format(DateTimeFormatter.ISO_DATE_TIME), is("2019-04-11T10:47:03.668Z"));
}