Файл: gapps/vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php
Строк: 24
<?php
namespace specProphecyExceptionPrediction;
use PhpSpecObjectBehavior;
use ProphecyProphecyMethodProphecy;
use ProphecyProphecyObjectProphecy;
class NoCallsExceptionSpec extends ObjectBehavior
{
function let(ObjectProphecy $objectProphecy, MethodProphecy $methodProphecy)
{
$methodProphecy->getObjectProphecy()->willReturn($objectProphecy);
$this->beConstructedWith('message', $methodProphecy);
}
function it_is_PredictionException()
{
$this->shouldHaveType('ProphecyExceptionPredictionPredictionException');
}
function it_extends_MethodProphecyException()
{
$this->shouldHaveType('ProphecyExceptionProphecyMethodProphecyException');
}
}