 
     private(set) var wasNotifiedFeedDidFailToLoad = false
     private(set) var wasNotifiedFeedLoaded = false
+    private(set) var results: [InkbunnyHomepageItem]?
     func verify(_ result: InkbunnyHomepageLoadResult) {
         switch result {
-        case .success:
+        case .success(let results):
+            self.results = results
             wasNotifiedFeedLoaded = true
 
         case .failure:

                    return
                }

                completionHandler(.success)
            })
        }
    }

        XCTAssertFalse(capturingHomepageHandler.wasNotifiedFeedDidFailToLoad)
    }

    func testSearchSucceedsProvidesHandlerWithItemConfiguredWithTitle() {
        let firstTitleInSearchJSON = "Green Batsu OTA (OPEN"
        var controllableNetworkAdapter = ControllableNetworkAdapter()
        controllableNetworkAdapter.stub(url: URL(string: "https://inkbunny.net/api_login.php")!, withContentsOfJSONFile: "ValidInkbunnyGuestLoginResponse")
        controllableNetworkAdapter.stub(url: URL(string: "https://inkbunny.net/api_search.php?sid=This_Is_A_Test_Token")!, withContentsOfJSONFile: "ValidInkbunnySearchResponse")

        let inkbunnyAPI = InkbunnyAPI(networkAdapter: controllableNetworkAdapter)
        let capturingHomepageHandler = CapturingInkbunnyHomepageHandler()
        inkbunnyAPI.loadHomepage(completionHandler: capturingHomepageHandler.verify)

        XCTAssertEqual(firstTitleInSearchJSON, capturingHomepageHandler.results?.first?.title)
    }

}
