         self.delegate = delegate
         service.loadHomepage(delegate: self)
         delegate.homepageServiceDidFailToLoad()
+        delegate.homepageServiceDidLoadSuccessfully(content: [])
+    }
+
+    func finishedLoadingHomepage() {
+
     }
 
     func failedToLoadHomepage() {


}

class PeekazooHomepageAdapter: HomepageService, HomepageLoadingDelegate {

    var service: PeekazooServiceProtocol

        XCTAssertTrue(delegate.didFailToLoadInvoked)
    }

    func testSucceedingInLoadingHomepageTellsDelegateAboutSuccess() {
        let successfulHomepageService = SucceedingPeekazooService()
        let adapter = PeekazooHomepageAdapter(service: successfulHomepageService)
        let delegate = CapturingHomepageServiceLoadingDelegate()
        adapter.loadHomepage(delegate: delegate)

        XCTAssertTrue(delegate.didFinishLoadingInvoked)
    }

}
