class ExecutedScenarioTransformer {

    List<ExecutedScenarioWithTeamIdsAndErrorsAndProblemsDTO> toFullyDetailledDtos(Collection<ExecutedScenario> scenarios) {
        if (null == scenarios) {
            return new ArrayList<>();
        }
        return scenarios.stream()
                .map(this::toFullyDetailledDto)
                .collect(Collectors.toList());
    }

}