/** * @dataProvider isBasePathDataProvider */ public function testIsBasePath($basepath, $path, $assert) { if ($assert) { $this->assertTrue(FileUtil::isBasePath($path, $basepath)); } else { $this->assertFalse(FileUtil::isBasePath($path, $basepath)); } }