def METHOD_NAME(self, now, class_session, user, payment_in_default_group):
    return MembershipFactory.create(
        user=user, group=payment_in_default_group,
        begins_at=now + timedelta(-1),
        ends_at=now + timedelta(1)
    )