Файл: gapps/vendor/phpspec/prophecy/spec/Prophecy/Exception/Prophecy/ObjectProphecyExceptionSpec.php
Строк: 20
<?php
namespace specProphecyExceptionProphecy;
use PhpSpecObjectBehavior;
use ProphecyProphecyObjectProphecy;
class ObjectProphecyExceptionSpec extends ObjectBehavior
{
function let(ObjectProphecy $objectProphecy)
{
$this->beConstructedWith('message', $objectProphecy);
}
function it_should_be_a_prophecy_exception()
{
$this->shouldBeAnInstanceOf('ProphecyExceptionProphecyProphecyException');
}
function it_holds_double_reference($objectProphecy)
{
$this->getObjectProphecy()->shouldReturn($objectProphecy);
}
}