Gush\Tests\Command\PullRequest\PullRequestListCommandTest::testListsPullRequests PHP Method

testListsPullRequests() public method

    public function testListsPullRequests()
    {
        $tester = $this->getCommandTester(new PullRequestListCommand());
        $tester->execute();
        $display = $tester->getDisplay();
        $this->assertCommandOutputMatches(['Pull requests on gushphp/gush', '1 pull request(s)'], $display);
        $this->assertTableOutputMatches(['ID', 'Title', 'State', 'Created', 'User', 'Link'], [['17', 'New feature added', 'Open', '2014-04-14 17:24', 'pierredup', 'https://github.com/gushphp/gush/pull/17']], $display);
    }
PullRequestListCommandTest