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