pharext\CliArgsTest::testReqArg PHP Method

testReqArg() public method

public testReqArg ( )
    public function testReqArg()
    {
        $this->assertNull($this->args->configure);
        foreach ($this->args->parse(1, ["-c"]) as $error) {
            $this->assertStringMatchesFormat("%s--configure%srequires%sargument", $error);
        }
        $this->assertTrue(isset($error));
    }