示例#1
0
 public function testNoInteraction()
 {
     $dialog = new QuestionHelper();
     $question = new Question('Do you have a job?', 'not yet');
     $this->assertEquals('not yet', $dialog->ask($this->createInputInterfaceMock(false), $this->createOutputInterface(), $question));
 }