protected function assertFiles(array $files, array $expected, $message = '') { $paths = array_map(function (FileInterface $file) { return $file->getFullPath(); }, $files); $this->assertEquals($expected, $paths, $message); }