     /// Remove all mock responses previously added with `mockResponse()`.
     ///
     func clearMockResponses() {
-        defaultMockResponse = nil
+        defaultMockResponses.removeAll()
         mockResponsesWithMatchers.removeAll()
     }
 }

            }
        }
        
        if let def = defaultMockResponse {
            if def.onlyOnce {
                defaultMockResponse = nil
            }
            return def
        }
        
        return nil

    // ------------------------------------
    // MARK: Response mocking
    
    private var defaultMockResponses: [MockResponse] = []
    private var mockResponsesWithMatchers: [MockResponse] = []
    
    /// Tell the server to send this response to incoming requests.
