public AskQuestionCommandBuilder WithExistingQuestionTitle(List <Question> question) { _questionGateway.GetAll(Arg.Any <CancellationToken>()).Returns(question); return(this); }
public Task <List <Question> > GetAllQuestions(CancellationToken cancellationToken) { return(_questionGateway.GetAll(cancellationToken)); }