### Question:
ExecutedScenarioTransformer { List<ExecutedScenarioWithTeamIdsAndErrorsAndProblemsDTO> toFullyDetailledDtos(Collection<ExecutedScenario> scenarios) { if (null == scenarios) { return new ArrayList<>(); } return scenarios.stream() .map(this::toFullyDetailledDto) .collect(Collectors.toList()); }    }### Answer:
@Test public void toFullyDetailledDtos_should_return_empty_list_on_empty_param() { List<ExecutedScenarioWithTeamIdsAndErrorsAndProblemsDTO> result = cut.toFullyDetailledDtos(new ArrayList<>()); Assertions.assertThat(result).isNotNull(); Assertions.assertThat(result).isEmpty(); }
@Test public void toFullyDetailledDtos_should_return_empty_list_on_null() { List<ExecutedScenarioWithTeamIdsAndErrorsAndProblemsDTO> result = cut.toFullyDetailledDtos(null); Assertions.assertThat(result).isNotNull(); Assertions.assertThat(result).isEmpty(); }