public function throws_error_when_no_options_given_and_not_in_git_dir()
{
$this->setExpectedException(UserException::class, 'Provide the --org and --repo options when your are outside of a Git directory.');
$command = new GitRepoCommand();
$this->runCommandTest($command, [], [], function (HelperSet $helperSet) {
$helperSet->set($this->getGitHelper(false)->reveal());
});
}