function it_rethrows_php_errors_as_phpspec_error_exceptions(Subject $subject, WrappedObject $wrapped)
{
$subject->callOnWrappedObject('getWrappedObject', array())->willThrow('PhpSpec\\Exception\\Example\\ErrorException');
$this->shouldThrow('PhpSpec\\Exception\\Example\\ErrorException')->duringMatch('be', $subject, array(), $wrapped);
}