function ThrowPromiseSpec::it_instantiates_exceptions_with_required_arguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Promise/ThrowPromiseSpec.php \spec\Prophecy\Promise\ThrowPromiseSpec::it_instantiates_exceptions_with_required_arguments()
Parameters
\Prophecy\Prophecy\ObjectProphecy $object:
\Prophecy\Prophecy\MethodProphecy $method:
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Promise/ ThrowPromiseSpec.php, line 35
Class
Namespace
spec\Prophecy\PromiseCode
function it_instantiates_exceptions_with_required_arguments($object, $method) {
$this
->beConstructedWith('spec\\Prophecy\\Promise\\RequiredArgumentException');
$this
->shouldThrow('spec\\Prophecy\\Promise\\RequiredArgumentException')
->duringExecute(array(), $object, $method);
}