public function testCompletionAwareCommand($commandLine, array $suggestions) { $handler = $this->createHandler($commandLine); $this->assertSame($suggestions, $this->getTerms($handler->runCompletion())); }