/** * @dataProvider dataProviderForTestGetAbsolutePath */ public function testGetAbsolutePath($basePath, $path, $expected) { $file = new File(); $this->assertEquals($expected, $file->getAbsolutePath($basePath, $path)); }