/** * Test that the directory and files were created correctly and * the iterator contains them */ public function testDirectoryPath() { $iterator = new FileIterator([self::$testDir]); $paths = $iterator->getPaths(); $this->assertCount(0, array_diff($paths, self::$expectedFiles)); }