         self.data = data
         self.urlResponse = urlResponse
         self.error = error
-        self.session = URLSession()
+        self.session = MockURLSession()
     }
 
     open func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTask {

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

open class MockAsyncSession: MockSession {


import Foundation

open class MockURLSession: URLSession {

    open override func invalidateAndCancel() {

    }
}
open class MockSession: FaroQueueSessionable {

    public let session: URLSession
