 
             it("uses correct sample data") {
                 var dataString: String?
-                let provider = MoyaProvider<StructTarget>(stubClosure: MoyaProvider.immediatelyStub)
-
-                waitUntil { done in
-                    _ = provider.request(StructTarget(StructAPI())) { result in
+                let provider = MoyaProvider<MultiTarget>(stubClosure: MoyaProvider.immediatelyStub)
+
+                waitUntil { done in
+                    _ = provider.request(MultiTarget(StructAPI())) { result in
                         if case let .success(response) = result {
                             dataString = String(data: response.data, encoding: .utf8)
                         }


            it("uses correct method") {
                var requestMethod: Moya.Method?
                let endpointResolution: MoyaProvider<StructTarget>.RequestClosure = { endpoint, done in
                    requestMethod = endpoint.method
                    if let urlRequest = endpoint.urlRequest {
                        done(.success(urlRequest))

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

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