### Question:
RunTransformer { List<RunWithExecutedScenariosAndTeamIdsAndErrorsAndProblemsDTO> toFullyDetailledDtos(Collection<Run> runs) { if (null == runs) { return new ArrayList<>(); } return runs.stream() .map(this::toFullyDetailledDto) .collect(Collectors.toList()); }    }### Answer:
@Test public void toFullyDetailledDtos_should_return_empty_list_on_empty_list() { List<RunWithExecutedScenariosAndTeamIdsAndErrorsAndProblemsDTO> result = cut.toFullyDetailledDtos(new ArrayList<>()); Assertions.assertThat(result).isNotNull(); Assertions.assertThat(result).isEmpty(); }
@Test public void toFullyDetailledDtos_should_return_empty_list_on_null() { List<RunWithExecutedScenariosAndTeamIdsAndErrorsAndProblemsDTO> result = cut.toFullyDetailledDtos(null); Assertions.assertThat(result).isNotNull(); Assertions.assertThat(result).isEmpty(); }