Mercurial > hg > isophonics-drupal-site
comparison vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/ClassNotFoundExceptionSpec.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace spec\Prophecy\Exception\Doubler; | |
4 | |
5 use PhpSpec\ObjectBehavior; | |
6 use spec\Prophecy\Exception\Prophecy; | |
7 | |
8 class ClassNotFoundExceptionSpec extends ObjectBehavior | |
9 { | |
10 function let() | |
11 { | |
12 $this->beConstructedWith('msg', 'CustomClass'); | |
13 } | |
14 | |
15 function it_is_a_prophecy_exception() | |
16 { | |
17 $this->shouldBeAnInstanceOf('Prophecy\Exception\Exception'); | |
18 $this->shouldBeAnInstanceOf('Prophecy\Exception\Doubler\DoubleException'); | |
19 } | |
20 | |
21 function its_getClassname_returns_classname() | |
22 { | |
23 $this->getClassname()->shouldReturn('CustomClass'); | |
24 } | |
25 } |