public function testGetIterator() { $file = self::$tmpDir . '/test.jpg'; $this->assertInstanceOf('\\Iterator', $this->object->files($file)->getIterator()); }