Вход Регистрация
Файл: gapps/vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/InterfaceNotFoundExceptionSpec.php
Строк: 31
<?php

namespace specProphecyExceptionDoubler;

use 
PhpSpecObjectBehavior;
use 
specProphecyExceptionProphecy;

class 
InterfaceNotFoundExceptionSpec extends ObjectBehavior
{
    function 
let()
    {
        
$this->beConstructedWith('msg''CustomInterface');
    }

    function 
it_extends_ClassNotFoundException()
    {
        
$this->shouldBeAnInstanceOf('ProphecyExceptionDoublerClassNotFoundException');
    }

    function 
its_getClassname_returns_classname()
    {
        
$this->getClassname()->shouldReturn('CustomInterface');
    }
}
Онлайн: 1
Реклама