Mercurial > hg > isophonics-drupal-site
comparison vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/InterfaceNotFoundExceptionSpec.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 InterfaceNotFoundExceptionSpec extends ObjectBehavior | |
9 { | |
10 function let() | |
11 { | |
12 $this->beConstructedWith('msg', 'CustomInterface'); | |
13 } | |
14 | |
15 function it_extends_ClassNotFoundException() | |
16 { | |
17 $this->shouldBeAnInstanceOf('Prophecy\Exception\Doubler\ClassNotFoundException'); | |
18 } | |
19 | |
20 function its_getClassname_returns_classname() | |
21 { | |
22 $this->getClassname()->shouldReturn('CustomInterface'); | |
23 } | |
24 } |