         
         _ = timelineViewModel.requestProfileInformation()
             .subscribe(onNext: { user in
-                XCTAssertNotNil(user)
+                XCTAssertNil(user)
                 XCTAssertEqual(user.userID, self.userData.userID)
                 XCTAssertEqual(user.name, self.userData.name)
                 XCTAssertEqual(user.screenName, self.userData.screenName)

    
    override func tearDown() {
        super.tearDown()
    }
    
    func testLoadUserProfileSuccessfully() {

    }
    
    func testLoadUserProfileFailed() {
        
        let expectation = expectationWithDescription("Receive error when the request fails.")
        
        _ = timelineViewModel.requestProfileInformation()
            .subscribe(onNext: { user in
                XCTFail("Failed in requesting the profile information with error: \(user)")
                }, onError: { error in
                    expectation.fulfill()
                }, onCompleted: nil, onDisposed: nil)
        
        waitForExpectationsWithTimeout(10.0) { error in
            XCTAssertNil(error, "Failed expectation \(expectation) with error \(error)")
        }
        
        stub(isPath(TwitterEndpoints().profile.host!)) { request in
            let notConnectedError = NSError(domain:NSURLErrorDomain, code:Int(CFNetworkErrors.CFURLErrorNotConnectedToInternet.rawValue), userInfo:nil)
            return OHHTTPStubsResponse(error:notConnectedError)
        }
    }
}
