Exemplo n.º 1
0
 public function case_get_formatted_message()
 {
     $this->given($message = 'foo %s', $exception = new SUT($message, 0, 'bar'))->when($result = $exception->getFormattedMessage())->then->string($result)->isEqualTo($exception->getMessage())->isEqualTo('foo bar');
 }