def METHOD_NAME(client, response):
    response.get("https://api.mollie.com/v2/customers", "customers_list")
    customers = client.customers.list()
    first_customer = customers[1]
    assert first_customer.id == "cst_8wmqcHMN4y", "Getting a customer by index should be possible"
    last_customer = customers[-1]
    assert last_customer.id == "cst_8wmqcHMN4x", "Getting a customer by negative index should be possible"
    with pytest.raises(IndexError) as excinfo:
        customers[1000]
    assert str(excinfo.value) == "list index out of range", "A non-existent index should raise an IndexError"