/** * @Then I should have :commandName command */ public function iShouldHaveCommand($commandName) { expect($this->application->has($commandName))->toBe(true); }
/** * @Then I should see :text in :command command help */ public function iShouldSeeInCommandHelp($text, $command) { expect($this->application->get($command)->getHelp())->shouldBeLike($text); }