Contao\CoreBundle\Test\Composer\ScriptHandlerTest::testGetWebDir PHP Method

testGetWebDir() public method

Tests the getWebDir() method.
public testGetWebDir ( array $extra, string $expected )
$extra array
$expected string
    public function testGetWebDir(array $extra, $expected)
    {
        $method = new \ReflectionMethod($this->handler, 'getWebDir');
        $method->setAccessible(true);
        $this->assertEquals($expected, $method->invokeArgs($this->handler, [$this->getComposerEvent($extra)]));
    }