DoubleExceptionSpec.php 326 B

123456789101112131415
  1. <?php
  2. namespace spec\Prophecy\Exception\Doubler;
  3. use PhpSpec\ObjectBehavior;
  4. class DoubleExceptionSpec extends ObjectBehavior
  5. {
  6. function it_is_a_double_exception()
  7. {
  8. $this->shouldBeAnInstanceOf('RuntimeException');
  9. $this->shouldBeAnInstanceOf('Prophecy\Exception\Doubler\DoublerException');
  10. }
  11. }