spec\Prophecy\Doubler\ClassPatch\TraversablePatchSpec::it_does_not_support_class_that_implements_Iterator PHP Метод

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

public it_does_not_support_class_that_implements_Iterator ( Prophecy\Doubler\Generator\Node\ClassNode $node )
$node Prophecy\Doubler\Generator\Node\ClassNode
    function it_does_not_support_class_that_implements_Iterator(ClassNode $node)
    {
        $node->getInterfaces()->willReturn(array('Traversable', 'Iterator'));
        $this->supports($node)->shouldReturn(false);
    }