class TppInfoRolesMapper {

    public List<TppRole> mapToTppRoles(List<String> rolesList) {
        return rolesList.stream()
                   .map(String::trim)
                   .map(this::getTppRole)
                   .filter(Objects::nonNull)
                   .collect(Collectors.toList());
    }

}