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);
}