/** * @dataProvider provideGetRootTests */ public function testGetRoot($path, $root) { $this->assertSame($root, Path::getRoot($path)); }