     override func setUp() {
         super.setUp()
         
-        webService = WebService(urlRequest: URLRequest(url: URL(string: "")!))
+        let url = URL(string: "https://example.com")!
+        webService = WebService(urlRequest: URLRequest(url: url))
         
     }
     

        webService = nil
        
        super.tearDown()
    }
    
    func testInitWithURLRequest() {
        
        XCTAssertNotNil(webService, "Cannot initialize web service with url request.")
        
    }
    
    func testSuccessfulResponse() {

        
    }
    
    func testWithAPI() {
        
        let expectation = self.expectation(withDescription: "Request data with web service.")
        
        let url = URL(string: "http://localhost:3000/users")!
        webService = WebService(urlRequest: URLRequest(url: url))
        
        let _ = webService!.request(
            with: URLSession(configuration: .default()),
            successHandler: { json in
                
                print(json)
                
                expectation.fulfill()
                
            },
            failHandler: { _, error in
                
                print(error)
                
                expectation.fulfill()
                
            }
        )
        
        waitForExpectations(withTimeout: 3.0, handler: nil)
        
    }
    
}
