/** * @dataProvider pathProvider */ public function testGetRelativePath($expected, $conf_path, $sugar_path) { $conf = new Config(); $actual = $conf->getRelativePath($conf_path, $sugar_path); $this->assertEquals($expected, $actual); }