Файл: gapps/vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/ClassNotFoundExceptionSpec.php
Строк: 30
<?php
namespace specProphecyExceptionDoubler;
use PhpSpecObjectBehavior;
use specProphecyExceptionProphecy;
class ClassNotFoundExceptionSpec extends ObjectBehavior
{
function let()
{
$this->beConstructedWith('msg', 'CustomClass');
}
function it_is_a_prophecy_exception()
{
$this->shouldBeAnInstanceOf('ProphecyExceptionException');
$this->shouldBeAnInstanceOf('ProphecyExceptionDoublerDoubleException');
}
function its_getClassname_returns_classname()
{
$this->getClassname()->shouldReturn('CustomClass');
}
}