spec\PhpSpec\Formatter\Presenter\Value\BaseExceptionTypePresenterSpec::it_should_present_an_exception_as_a_string PHP Method

it_should_present_an_exception_as_a_string() public method

    function it_should_present_an_exception_as_a_string()
    {
        $this->present(new \Exception('foo'))->shouldReturn('[exc:Exception("foo")]');
    }