### Question:
TppInfoRolesMapper { public List<TppRole> mapToTppRoles(List<String> rolesList) { return rolesList.stream() .map(String::trim) .map(this::getTppRole) .filter(Objects::nonNull) .collect(Collectors.toList()); }  List<TppRole> mapToTppRoles(List<String> rolesList);  }### Answer:
@Test void mapToTppRoles() { String header = "AISP, PISP, PIISP, ASPSP, UNKNOWN_ROLE"; List<String> rolesList = Arrays.asList(header.split(",")); List<TppRole> rolesExpected = Arrays.asList(TppRole.AISP, TppRole.PISP, TppRole.PIISP, TppRole.ASPSP); List<TppRole> roles = tppInfoRolesMapper.mapToTppRoles(rolesList); assertEquals(rolesExpected, roles); }