public function testCachingIterator() { $c = new Collection(['foo']); $this->assertInstanceOf('CachingIterator', $c->getCachingIterator()); }