예제 #1
0
 /**
  * @Then I should be prompted with:
  */
 public function iShouldBePromptedWith(PyStringNode $question)
 {
     $stringQuestion = (string) $question;
     if (!$this->prompter->hasBeenAsked($stringQuestion)) {
         throw new \Exception("The prompt was not shown: {$stringQuestion}");
     }
 }