/** * @test * @dataProvider sitePathProvider */ public function itHasASitePath($uri, $expected) { $drupal = new Drupal('/foo/bar', $uri, 'standard'); $this->assertSame('/foo/bar/sites/' . $expected, $drupal->getSitePath()); $this->assertSame('sites/' . $expected, $drupal->getLocalPath()); }