spec\PhpSpec\Wrapper\Subject\Expectation\ConstructorDecoratorSpec::it_rethrows_fracture_errors_as_phpspec_error_exceptions PHP Метод

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

public it_rethrows_fracture_errors_as_phpspec_error_exceptions ( Subject $subject, WrappedObject $wrapped )
$subject PhpSpec\Wrapper\Subject
$wrapped PhpSpec\Wrapper\Subject\WrappedObject
    function it_rethrows_fracture_errors_as_phpspec_error_exceptions(Subject $subject, WrappedObject $wrapped)
    {
        $subject->__call('getWrappedObject', array())->willThrow('PhpSpec\\Exception\\Fracture\\FractureException');
        $this->shouldThrow('PhpSpec\\Exception\\Fracture\\FractureException')->duringMatch('be', $subject, array(), $wrapped);
    }