Gush\Tests\Template\PullRequest\Create\PullRequestCustomTemplateTest::testThrowsErrorWhenTableIsEmpty PHP Method

testThrowsErrorWhenTableIsEmpty() public method

    public function testThrowsErrorWhenTableIsEmpty()
    {
        $template = $this->getCustomTemplate([]);
        $this->setExpectedException('RuntimeException', 'table-pr structure requires at least one row');
        $template->getRequirements();
    }