def METHOD_NAME(client, response):
    response.get(f"https://api.mollie.com/v2/customers/{CUSTOMER_ID}", "customer_single")
    response.get(
        f"https://api.mollie.com/v2/customers/{CUSTOMER_ID}/mandates/{MANDATE_ID}",
        "customer_mandate_single",
    )
    customer = client.customers.get(CUSTOMER_ID)
    mandate = customer.mandates.get(MANDATE_ID)
    assert isinstance(mandate, Mandate)
    assert mandate.id == MANDATE_ID
    assert mandate.resource == "mandate"
    assert mandate.status == "valid"
    assert mandate.method == "directdebit"
    assert mandate.details == {
        "consumerName": "John Doe",
        "consumerAccount": "NL55INGB0000000000",
        "consumerBic": "INGBNL2A",
    }
    assert mandate.mandate_reference == "YOUR-COMPANY-MD1380"
    assert mandate.signature_date == "2018-05-07"
    assert mandate.created_at == "2018-05-07T10:49:08+00:00"
    assert mandate.is_pending() is False
    assert mandate.is_valid() is True
    assert mandate.is_invalid() is False