spec\Prophecy\Doubler\Generator\Node\ClassNodeSpec::its_addInterface_adds_item_to_the_list_of_implemented_interfaces PHP Method

its_addInterface_adds_item_to_the_list_of_implemented_interfaces() public method

    function its_addInterface_adds_item_to_the_list_of_implemented_interfaces()
    {
        $this->addInterface('MyInterface');
        $this->getInterfaces()->shouldHaveCount(1);
    }