def METHOD_NAME(self):
    cli = build_gitlab_cli_mock()
    mr = DummyMergeRequest(process_error=GitlabError())
    with self.assertRaises(MergeRequestProcessingError):
        mr.submit_to_gitlab(cli)
    cli.project.mergerequests.create.assert_not_called()