function ClassNodeSpec::its_addInterface_adds_item_to_the_list_of_implemented_interfaces 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::its_addInterface_adds_item_to_the_list_of_implemented_interfaces()
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Doubler/ Generator/ Node/ ClassNodeSpec.php, line 31
Class
Namespace
spec\Prophecy\Doubler\Generator\NodeCode
function its_addInterface_adds_item_to_the_list_of_implemented_interfaces() {
$this
->addInterface('MyInterface');
$this
->getInterfaces()
->shouldHaveCount(1);
}