spec\PHPSpec2\Event\ExampleEvent::it_should_provide_exception_if_set PHP Метод

it_should_provide_exception_if_set() публичный Метод

public it_should_provide_exception_if_set ( PHPSpec2\Loader\Node\Example $example )
$example PHPSpec2\Loader\Node\Example
    function it_should_provide_exception_if_set($example)
    {
        $this->beConstructedWith($example, null, null, $exception = new \Exception());
        $this->getException()->shouldReturn($exception);
    }