Gush\Tests\Command\Issue\IssueShowCommandTest::it_errors_when_the_number_cannot_be_auto_determined PHP Метод

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

    public function it_errors_when_the_number_cannot_be_auto_determined()
    {
        //@FIXME
        $this->markTestSkipped('We need to fix the test or remove it because logic sticks to the git helper');
        $command = new IssueShowCommand();
        $tester = $this->getCommandTester($command, null, null, function (HelperSet $helperSet) {
            $helperSet->set($this->getLocalGitHelper()->reveal());
        });
        $this->setExpectedException(UserException::class, 'Unable to extract issue-number from the current branch name.');
        $tester->execute();
    }