class InterfaceNotFoundExceptionSpec in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/InterfaceNotFoundExceptionSpec.php \spec\Prophecy\Exception\Doubler\InterfaceNotFoundExceptionSpec
Hierarchy
- class \spec\Prophecy\Exception\Doubler\InterfaceNotFoundExceptionSpec extends \PhpSpec\ObjectBehavior
Expanded class hierarchy of InterfaceNotFoundExceptionSpec
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Exception/ Doubler/ InterfaceNotFoundExceptionSpec.php, line 8
Namespace
spec\Prophecy\Exception\DoublerView source
class InterfaceNotFoundExceptionSpec extends ObjectBehavior {
function let() {
$this
->beConstructedWith('msg', 'CustomInterface');
}
function it_extends_ClassNotFoundException() {
$this
->shouldBeAnInstanceOf('Prophecy\\Exception\\Doubler\\ClassNotFoundException');
}
function its_getClassname_returns_classname() {
$this
->getClassname()
->shouldReturn('CustomInterface');
}
}