def METHOD_NAME(rf, staff_user, customer_user):
    customer_access_token = create_access_token(customer_user)
    request = rf.request(
        HTTP_AUTHORIZATION_BEARER="", HTTP_AUTHORIZATION=f"JWT {customer_access_token}"
    )
    backend = JSONWebTokenBackend()
    user = backend.authenticate(request)
    assert user == customer_user