def METHOD_NAME(self, mock_sentry_app_component_preparer):
    event = self.get_event()
    self.project = self.create_project(organization=event.organization)
    self.app = self.create_sentry_app(
        organization=event.organization,
        name="Test Application",
        is_alertable=True,
        schema=self.schema,
    )
    self.install = self.create_sentry_app_installation(
        slug="test-application", organization=event.organization
    )
    rule = self.get_rule(
        data={
            "sentryAppInstallationUuid": self.install.uuid,
            "settings": self.schema_data,
        }
    )
    action_list = rule.get_custom_actions(self.project)
    assert len(action_list) == 1
    action = action_list[0]
    alert_element = self.schema["elements"][0]
    assert action["id"] == SENTRY_APP_ALERT_ACTION
    assert action["service"] == self.app.slug
    assert action["prompt"] == self.app.name
    assert action["actionType"] == "sentryapp"
    assert action["enabled"]
    assert action["formFields"] == alert_element["settings"]
    assert alert_element["title"] in action["label"]