function it_does_not_support_class_that_implements_IteratorAggregate(ClassNode $node) { $node->getInterfaces()->willReturn(array('Traversable', 'IteratorAggregate')); $this->supports($node)->shouldReturn(false); }