def METHOD_NAME(self, request_mock):
    resource = stripe.Invoice.upcoming(customer="cus_123")
    request_mock.assert_requested("get", "/v1/invoices/upcoming")
    assert isinstance(resource, stripe.Invoice)