         let capturingHomepageHandler = CapturingInkbunnyHomepageHandler()
         inkbunnyAPI.loadHomepage(completionHandler: capturingHomepageHandler.verify)
 
-        XCTAssertFalse(journallingNetworkAdapter.lastGetURLSatisfies({ $0.absoluteString.contains("api_search.php") }))
+        XCTAssertFalse(journallingNetworkAdapter.lastGetURLContains("api_search.php"))
     }
 
     func testLoginReturnsInvalidJSONDataNotifiesHandlerOfFailure() {

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

        XCTAssertTrue(journallingNetworkAdapter.lastGetURLSatisfies({ $0.absoluteString.contains(expectedSearchEndpoint.absoluteString) }))
    }

    func testLoginRequestReturnsValidResponseDoesNotNotifyHandlerAboutFailure() {

        networkAdapter.get(url, completionHandler: completionHandler)
    }

    func lastGetURLContains(_ component: String) -> Bool {
        guard let url = getURLs.last else { return false }
        return url.absoluteString.contains(component)
    }

}
