             expectation.fulfill()
         })
         
-        waitForExpectationsWithTimeout(nc.timeoutInterval, handler: { error in
+        waitForExpectationsWithTimeout(networkClient.timeoutInterval, handler: { error in
             
         })
         

    func testFetchAssignmentPage() {
        let expectation = expectationWithDescription("Fetch assignments")
        
        nc.fetchPage(Page.Assignments, { (operation, response) in
            expectation.fulfill()
            XCTAssertNotNil(response)
        }, { (operation, error) in


class NetworkClientTests: XCTestCase {
    
    var networkClient = NetworkClient(username: "test", password: "test")
    
    override func setUp() {
        super.setUp()
