def METHOD_NAME(offline_event_factory):
    EVENT_DATE = parse("2020-01-05 17:00:00 UTC")
    ACTION_DATE = EVENT_DATE - timedelta(hours=EVENT_STARTING_HOURS)
    content_type = ContentType.objects.get_for_model(OfflineEvent)
    event = offline_event_factory(
        date=EVENT_DATE,
    )
    # event happens soon
    CURRENT_DATE = ACTION_DATE + timedelta(minutes=30)
    with freeze_time(CURRENT_DATE):
        call_command("create_offlineevent_system_actions")
        action_count = Action.objects.filter(
            verb=START, obj_content_type=content_type
        ).count()
        assert action_count == 1
    # reschedule event date, but little enough so no new action will be created
    EVENT_DATE += timedelta(hours=EVENT_STARTING_HOURS) - timedelta(hours=1)
    ACTION_DATE = EVENT_DATE - timedelta(hours=EVENT_STARTING_HOURS)
    CURRENT_DATE = ACTION_DATE + timedelta(minutes=30)
    event.date = EVENT_DATE
    event.save()
    with freeze_time(CURRENT_DATE):
        call_command("create_offlineevent_system_actions")
        action_count = Action.objects.filter(
            verb=START, obj_content_type=content_type
        ).count()
        assert action_count == 1
    # reschedule event date again, benough so a new action will be created
    EVENT_DATE += timedelta(hours=EVENT_STARTING_HOURS) + timedelta(hours=1)
    ACTION_DATE = EVENT_DATE - timedelta(hours=EVENT_STARTING_HOURS)
    CURRENT_DATE = ACTION_DATE + timedelta(minutes=30)
    event.date = EVENT_DATE
    event.save()
    with freeze_time(CURRENT_DATE):
        call_command("create_offlineevent_system_actions")
        action_count = Action.objects.filter(
            verb=START, obj_content_type=content_type
        ).count()
        assert action_count == 2