public function testCompleteOptionOrder()
{
// Completion of options should be able to happen anywhere after the command name
$handler = $this->createHandler('app wave bruce --vi');
$this->assertEquals(array('--vigorous'), $this->getTerms($handler->runCompletion()));
// Completing an option mid-commandline should work as normal
$handler = $this->createHandler('app wave --vi --jazz-hands bruce', 13);
$this->assertEquals(array('--vigorous'), $this->getTerms($handler->runCompletion()));
}