class NoCallsExceptionSpec in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php \spec\Prophecy\Exception\Prediction\NoCallsExceptionSpec
Hierarchy
- class \spec\Prophecy\Exception\Prediction\NoCallsExceptionSpec extends \PhpSpec\ObjectBehavior
Expanded class hierarchy of NoCallsExceptionSpec
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Exception/ Prediction/ NoCallsExceptionSpec.php, line 7
Namespace
spec\Prophecy\Exception\PredictionView source
class NoCallsExceptionSpec extends ObjectBehavior {
/**
* @param \Prophecy\Prophecy\ObjectProphecy $objectProphecy
* @param \Prophecy\Prophecy\MethodProphecy $methodProphecy
*/
function let($objectProphecy, $methodProphecy) {
$methodProphecy
->getObjectProphecy()
->willReturn($objectProphecy);
$this
->beConstructedWith('message', $methodProphecy);
}
function it_is_PredictionException() {
$this
->shouldHaveType('Prophecy\\Exception\\Prediction\\PredictionException');
}
function it_extends_MethodProphecyException() {
$this
->shouldHaveType('Prophecy\\Exception\\Prophecy\\MethodProphecyException');
}
}