class QuestionServiceImpl implements QuestionService {

    @Override
    public Optional<QuestionResource> getNextQuestion(Long questionId) {
        return questionRestService.getNextQuestion(questionId).getOptionalSuccessObject();
    }

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

}