public function testPatOnTheBackWithOption()
{
$tester = $this->getCommandTester(new PullRequestPatOnTheBackCommand(), null, null, function (HelperSet $helperSet) {
$helperSet->set($this->getTemplateHelper('thanks'));
});
$tester->execute(['pr_number' => 10, '--pat' => 'thanks'], ['interactive' => false]);
$this->assertCommandOutputMatches('Pat on the back pushed to https://github.com/gushphp/gush/pull/10', $tester->getDisplay());
}