def METHOD_NAME(self):
    """
    Signal created 370 days ago and the final state set 369 days ago. So the signal should be deleted.
    """
    self.feature_flags['DELETE_SIGNALS_IN_STATE_X_AFTER_PERIOD_Y_ENABLED'] = True
    with freeze_time(timezone.now() - timezone.timedelta(days=370)):
        signal = SignalFactory.create(status__state=GEANNULEERD)
    with override_settings(FEATURE_FLAGS=self.feature_flags):
        n_deleted, batch_uuid, t_taken = SignalDeletionService.delete_signals(GEANNULEERD, 365, dry_run=False)
    self.assertFalse(Signal.objects.filter(id=signal.id).exists())
    self.assertTrue(DeletedSignal.objects.filter(signal_id=signal.id).exists())
    self.assertEqual(n_deleted, 1)