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