public function itShouldThrowsExceptionFromOriginalScript()
{
$this->expectException(InvalidPushException::class);
$configurationDataResponse = ConfigurationDataResponseStub::createCustom(false, false, true);
$this->shouldHandleQuery(new ConfigurationDataFinderQuery(), $configurationDataResponse);
$this->shouldWriteLnOutput(PrePushTool::PRE_PUSH_HOOK);
$this->shouldExecutePrePushOriginal($this->remote, $this->url, 'error');
$this->shouldWriteLnOutput(BadJobLogoResponse::paint($configurationDataResponse->getPrePush()->getErrorMessage()));
$this->prePushToolCommandHandler->handle(new PrePushToolCommand($this->remote, $this->url));
}