def METHOD_NAME(self):
    assert not self.project.flags.has_transactions
    event = self.store_event(
        data={
            "type": "transaction",
            "timestamp": self.min_ago,
            "start_timestamp": self.min_ago,
            "contexts": {"trace": {"trace_id": "b" * 32, "span_id": "c" * 16, "op": ""}},
        },
        project_id=self.project.id,
    )
    transaction_processed.send(project=self.project, event=event, sender=type(self.project))
    project = Project.objects.get(id=self.project.id)
    assert project.flags.has_transactions