PhpBench\Tests\Unit\Extension\CoreExtensionTest::testRelativizePath PHP Method

testRelativizePath() public method

It should expand the "path" parameter to an absolute path if it is relative.
public testRelativizePath ( )
    public function testRelativizePath()
    {
        $container = new Container(['PhpBench\\Extension\\CoreExtension'], ['path' => 'hello', 'config_path' => '/path/to/phpbench.json']);
        $container->init();
        $this->assertEquals('/path/to/hello', $container->getParameter('path'));
    }