         let apiClient = stubbedAPIClient()
         
         stubRetrieveCustomers(key: customerKey, returningCustomerJSON: expectedCustomerJSON, expectedCount: 1, apiClient: apiClient)
+        stubListPaymentMethods(key: customerKey, paymentMethodJSONs: [], expectedCount: 1, apiClient: apiClient)
         
         let exp = expectation(description: "updateCustomer")
         stub { urlRequest in

        // - when the context is initialized,
        // - when sut.retrieveCustomer is called below, as the cached customer has been cleared.
        stubRetrieveCustomers(key: customerKey, returningCustomerJSON: expectedCustomerJSON, expectedCount: 2, apiClient: apiClient)
        let ekm = MockEphemeralKeyManager(key: customerKey, error: nil)
        let sut = STPCustomerContext(keyManager: ekm, apiClient: apiClient)
        // Give the mocked API request a little time to complete and cache the customer, then reset and check cache

        // apiClient.retrieveCustomer should be called once, when the context is initialized.
        // When sut.retrieveCustomer is called below, the cached customer will be used.
        stubRetrieveCustomers(key: customerKey, returningCustomerJSON: expectedCustomerJSON, expectedCount: 1, apiClient: apiClient)
        stubListPaymentMethods(key: customerKey, paymentMethodJSONs: [], expectedCount: 1, apiClient: apiClient)
        let ekm = MockEphemeralKeyManager(key: customerKey, error: nil)
        let sut = STPCustomerContext(keyManager: ekm, apiClient: apiClient)
        // Give the mocked API request a little time to complete and cache the customer, then check cache
