def METHOD_NAME(db):
    invoice = EventInvoiceSubFactory(user=UserFactory())
    db.session.commit()
    notify_monthly_payment(invoice)
    notification = Notification.query.first()
    assert notification.user == invoice.user
    assert notification.content.type == NotificationType.MONTHLY_PAYMENT
    assert notification.content.target == invoice
    assert notification.content.actors == []