 
 import Foundation
 
+open class MockURLSession: URLSession {
+
+    open override func invalidateAndCancel() {
+
+    }
+}
 open class MockSession: FaroQueueSessionable {
 
     public let session: URLSession

        let completionHandler = completionHandlers[task.taskIdentifier]
        completionHandler?(data, urlResponse, error)
    }
    
}

open class MockAsyncSession: MockSession {

        self.data = data
        self.urlResponse = urlResponse
        self.error = error
        self.session = MockURLSession()
    }

    open func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTask {
