mageekguy\atoum\tests\units\script\arguments\parser::test__construct PHP Method

test__construct() public method

public test__construct ( )
    public function test__construct()
    {
        $this->if($parser = new script\arguments\parser())->then->object($parser->getSuperGlobals())->isEqualTo(new atoum\superglobals())->array($parser->getValues())->isEmpty()->array($parser->getHandlers())->isEmpty()->variable($parser->getDefaultHandler())->isNull()->array($parser->getPriorities())->isEmpty()->object($parser->getIterator())->isEmpty()->boolean($parser->hasFoundArguments())->isFalse()->if($parser = new script\arguments\parser($superglobals = new atoum\superglobals()))->then->object($parser->getSuperGlobals())->isIdenticalTo($superglobals)->array($parser->getValues())->isEmpty()->array($parser->getHandlers())->isEmpty()->variable($parser->getDefaultHandler())->isNull()->array($parser->getPriorities())->isEmpty()->object($parser->getIterator())->isEmpty()->boolean($parser->hasFoundArguments())->isFalse();
    }