Commando\Test\CommandTest::testRequirementsOnOptionsMissing PHP Method

testRequirementsOnOptionsMissing() public method

Test that an exception is thrown when an option isn't set
    public function testRequirementsOnOptionsMissing()
    {
        $tokens = array('filename', '-a', 'v1');
        $cmd = new Command($tokens);
        $cmd->trapErrors(false)->beepOnError(false);
        $cmd->option('a')->needs('b');
    }