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

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

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