class ClassMirrorExceptionSpec in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Doubler/ClassMirrorExceptionSpec.php \spec\Prophecy\Exception\Doubler\ClassMirrorExceptionSpec
Hierarchy
- class \spec\Prophecy\Exception\Doubler\ClassMirrorExceptionSpec extends \PhpSpec\ObjectBehavior
Expanded class hierarchy of ClassMirrorExceptionSpec
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Exception/ Doubler/ ClassMirrorExceptionSpec.php, line 7
Namespace
spec\Prophecy\Exception\DoublerView 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);
}
}