/**
  * @param \Exception $exception
  * @return string
  */
 public function presentExceptionThrownMessage(\Exception $exception)
 {
     return sprintf('Exception %s has been thrown.', $this->exceptionTypePresenter->present($exception));
 }
 function it_should_return_a_simple_exception_thrown_message(ExceptionTypePresenter $typePresenter, \Exception $exception)
 {
     $typePresenter->present($exception)->willReturn('exc');
     $this->presentExceptionThrownMessage($exception)->shouldReturn('Exception exc has been thrown.');
 }
 function it_should_tag_an_exception_thrown_message(ExceptionTypePresenter $exceptionTypePresenter, \Exception $exception)
 {
     $exceptionTypePresenter->present($exception)->willReturn('exc');
     $this->presentExceptionThrownMessage($exception)->shouldReturn('Exception <label>exc</label> has been thrown.');
 }