/** * @dataProvider provideGetDirectoryTests */ public function testGetDirectory($path, $directory) { $this->assertSame($directory, Path::getDirectory($path)); }