def METHOD_NAME(self):
    conditions = [
        [],
        [{"id": "sentry.rules.conditions.event_frequency.EventFrequencyCondition"}],
    ]
    for invalid_condition in conditions:
        resp = self.get_response(
            self.organization.slug,
            self.project.slug,
            conditions=invalid_condition,
            filters=[],
            actionMatch="any",
            filterMatch="all",
            frequency=10,
        )
        assert resp.status_code == 400