function ClassNodeSpec::it_ignores_same_interfaces_added_twice in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/ClassNodeSpec.php \spec\Prophecy\Doubler\Generator\Node\ClassNodeSpec::it_ignores_same_interfaces_added_twice()
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Doubler/ Generator/ Node/ ClassNodeSpec.php, line 55
Class
Namespace
spec\Prophecy\Doubler\Generator\NodeCode
function it_ignores_same_interfaces_added_twice() {
$this
->addInterface('MyInterface');
$this
->addInterface('MyInterface');
$this
->getInterfaces()
->shouldHaveCount(1);
$this
->getInterfaces()
->shouldReturn(array(
'MyInterface',
));
}