/** * @dataProvider provideValidPaths */ public function testGetPath($path) { $packageFile = new PackageFile(null, $path); $this->assertSame($path, $packageFile->getPath()); }