OHHTTPStubs
OHHTTPStubs.stubRequestsPassingTest({$0.URL!.host == "mywebservice.com"}) { _ in
// Stub it with our "wsresponse.json" stub file (which is in same bundle as self)
let fixture = OHPathForFile("wsresponse.json", self.dynamicType)
return OHHTTPStubsResponse(fileAtPath: fixture!,
statusCode: 200, headers: ["Content-Type":"application/json"])
}