class QuestionServiceImpl implements QuestionService {

    @Override
    public List<QuestionStatusResource> getNotificationsForUser(Collection<QuestionStatusResource> questionStatuses, Long userId) {
        return questionStatuses.stream().
                filter(qs -> userId.equals(qs.getAssigneeUserId()) && (qs.getNotified() != null && qs.getNotified().equals(Boolean.FALSE)))
                .collect(Collectors.toList());
    }

    public  QuestionServiceImpl(QuestionRestService questionRestService,
                               QuestionStatusRestService questionStatusRestService,
                               UserRestService userRestService);

}