コード例 #1
0
 public function failureDescription($other)
 {
     $generator = new FailureGenerator();
     $generator->spy_was_not_called_before($other, $this->target_spy);
     return $generator->get_message();
 }
コード例 #2
0
 protected function additionalFailureDescription($other)
 {
     $generator = new FailureGenerator();
     $generator->spy_was_not_called_with_additional($other);
     return $generator->get_message();
 }
コード例 #3
0
 public function failureDescription($other)
 {
     $generator = new FailureGenerator();
     $generator->spy_was_called($other);
     return $generator->get_message();
 }