You are here

class InterfaceNotFoundExceptionSpec in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/InterfaceNotFoundExceptionSpec.php \spec\Prophecy\Exception\Doubler\InterfaceNotFoundExceptionSpec

Hierarchy

Expanded class hierarchy of InterfaceNotFoundExceptionSpec

File

vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/InterfaceNotFoundExceptionSpec.php, line 8

Namespace

spec\Prophecy\Exception\Doubler
View 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');
  }

}

Members