 
             it("uses correct parameters") {
                 var requestParameters: [String: Any]?
-                let endpointResolution: MoyaProvider<StructTarget>.RequestClosure = { endpoint, done in
+                let endpointResolution: MoyaProvider<MultiTarget>.RequestClosure = { endpoint, done in
                     requestParameters = endpoint.parameters
                     if let urlRequest = endpoint.urlRequest {
                         done(.success(urlRequest))

                        done(.failure(Moya.Error.requestMapping(endpoint.URL)))
                    }
                }
                let provider = MoyaProvider<StructTarget>(requestClosure: endpointResolution, stubClosure: MoyaProvider.immediatelyStub)

                waitUntil { done in
                    _ = provider.request(StructTarget(StructAPI())) { _ in
                        done()
                    }
                }


            it("uses correct URL") {
                var requestedURL: String?
                let endpointResolution: MoyaProvider<MultiTarget>.RequestClosure = { endpoint, done in
                    requestedURL = endpoint.URL
                    if let urlRequest = endpoint.urlRequest {
                        done(.success(urlRequest))
