         networkAdapter.get(url, completionHandler: completionHandler)
     }
 
-    func lastGetURLSatisfies(_ predicate: (URL) -> Bool) -> Bool {
+    func lastGetURLContains(_ component: String) -> Bool {
         guard let url = getURLs.last else { return false }
-        return predicate(url)
+        return url.absoluteString.contains(component)
     }
 
 }

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

         XCTAssertTrue(journallingNetworkAdapter.lastGetURLSatisfies({ $0.absoluteString.contains("api_search.php?sid=\(sidFromJSON)") }))
    }

}

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

        XCTAssertFalse(journallingNetworkAdapter.lastGetURLContains("api_search.php"))
    }

    func testLoginReturnsInvalidJSONDataNotifiesHandlerOfFailure() {
