pharext\CliArgsTest::testCompile PHP Method

testCompile() public method

public testCompile ( )
    public function testCompile()
    {
        $args = $this->args->compile($this->spec);
        $this->assertSame($args, $this->args);
        foreach ($this->spec as $arg) {
            $spec["-" . $arg[0]] = $arg;
            $spec["--" . $arg[1]] = $arg;
        }
        $this->assertSame($args->getCompiledSpec(), $spec);
    }