def METHOD_NAME(self, publish_application_mock, get_template_data_mock):
    template_data = {METADATA: {SERVERLESS_REPO_APPLICATION: {SEMANTIC_VERSION: "0.1"}}}
    get_template_data_mock.return_value = template_data
    publish_application_mock.return_value = {"application_id": self.application_id, "details": {}, "actions": {}}
    publish_cli(self.ctx_mock, self.template, None)
    publish_application_mock.assert_called_with(template_data)