spec\Prophecy\Doubler\Generator\Node\ClassNodeSpec::it_ignores_same_interfaces_added_twice PHP Метод

it_ignores_same_interfaces_added_twice() публичный Метод

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