pharext\CliArgsTest::testMulti PHP Method

testMulti() public method

public testMulti ( )
    public function testMulti()
    {
        foreach ($this->args->parse(4, ["-c", "--with-foo", "--configure", "--enable-bar"]) as $error) {
            throw new \Exception("Unexpected parse error: {$error}");
        }
        $this->assertSame(["--with-foo", "--enable-bar"], $this->args->configure);
    }