     }
 
     func testCall_RequestsJSONWithoutCallback() {
-        let mock = MockURLSession()
-        let api = FlickrAPI(
-            withAPIKey: "dummy-api-key",
-            withURLSession: mock
-        )
         let expectedItems = [
             "format": "json",
             "nojsoncallback": "1"

    }

    func testCall_RequestsCorrectMethod() {
        let mock = MockURLSession()
        let api = FlickrAPI(
            withAPIKey: "dummy-api-key",
            withURLSession: mock
        )
        let expectedItem = URLQueryItem(
            name: "method",
            value: "dummy-method"

    }

    func testCall_PassesParameters() {
        let expectedItems = [
            "first-parameter": "first-value",
            "second-parameter": "second-value"
