Gush\Tests\Command\PullRequest\PullRequestPatOnTheBackCommandTest::testPatContributorOfPullRequestOnTheBack PHP Метод

testPatContributorOfPullRequestOnTheBack() публичный Метод

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