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

testGetBinDir() public method

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