def METHOD_NAME(self):
    team = self.create_team()
    project1 = self.create_project(teams=[team], name="foo")
    self.create_project(teams=[team], name="baz")
    sentry_app = self.create_sentry_app(
        organization=self.organization,
        is_alertable=True,
    )
    self.create_sentry_app_installation(
        slug=sentry_app.slug, organization=self.organization, user=self.user
    )
    response = self.get_success_response(self.organization.slug, project1.slug)
    assert len(response.data["actions"]) == 10
    assert {
        "id": "sentry.rules.actions.notify_event_service.NotifyEventServiceAction",
        "label": "Send a notification via {service}",
        "enabled": True,
        "prompt": "Send a notification via an integration",
        "formFields": {
            "service": {"type": "choice", "choices": [[sentry_app.slug, sentry_app.name]]}
        },
    } in response.data["actions"]
    assert len(response.data["conditions"]) == 7
    assert len(response.data["filters"]) == 8