You are here

class ClassMirrorExceptionSpec in Zircon Profile 8

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

Hierarchy

Expanded class hierarchy of ClassMirrorExceptionSpec

File

vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/ClassMirrorExceptionSpec.php, line 7

Namespace

spec\Prophecy\Exception\Doubler
View source
class ClassMirrorExceptionSpec extends ObjectBehavior {

  /**
   * @param \ReflectionClass $class
   */
  function let($class) {
    $this
      ->beConstructedWith('', $class);
  }
  function it_is_a_prophecy_exception() {
    $this
      ->shouldBeAnInstanceOf('Prophecy\\Exception\\Exception');
    $this
      ->shouldBeAnInstanceOf('Prophecy\\Exception\\Doubler\\DoublerException');
  }
  function it_contains_a_reflected_class_link($class) {
    $this
      ->getReflectedClass()
      ->shouldReturn($class);
  }

}

Members