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