Файл: src/vendor/phpspec/prophecy/spec/Prophecy/Exception/Prophecy/ObjectProphecyExceptionSpec.php
Строк: 21
<?php
namespace specProphecyExceptionProphecy;
use PhpSpecObjectBehavior;
use specProphecyExceptionProphecy;
class ObjectProphecyExceptionSpec extends ObjectBehavior
{
/**
* @param ProphecyProphecyObjectProphecy $objectProphecy
*/
function let($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);
}
}