         let item = StubHomepageInterfaceItemViewModel()
         let viewModel = StubHomepageInterfaceViewModel(items: [item])
         updateInterface(viewModel: viewModel, applyingDifferences: [])
-        let cell = homepageViewController.collectionView.cellForItem(at: IndexPath(item: 0, section: 0))
 
-        XCTAssertTrue(cell is HomepageItemCollectionViewCell)
+        XCTAssertTrue((cellForItem(at: 0) as Any) is HomepageItemCollectionViewCell)
     }
 
     func testDequeuedHomepageItemCellsShouldHaveLabels() {
         let item = StubHomepageInterfaceItemViewModel()
         let viewModel = StubHomepageInterfaceViewModel(items: [item])
         updateInterface(viewModel: viewModel, applyingDifferences: [])
-        let cell = homepageViewController.collectionView.cellForItem(at: IndexPath(item: 0, section: 0)) as? HomepageItemCollectionViewCell
 
-        XCTAssertNotNil(cell?.itemTitleLabel)
+        XCTAssertNotNil(cellForItem(at: 0)?.itemTitleLabel)
     }
 
     func testDequeuedItemCellShouldBeConfiguredWithTheTitleFromTheViewModel() {
         let item = StubHomepageInterfaceItemViewModel(title: "Some title")
         let viewModel = StubHomepageInterfaceViewModel(items: [item])
         updateInterface(viewModel: viewModel, applyingDifferences: [])
-        let cell = homepageViewController.collectionView.cellForItem(at: IndexPath(item: 0, section: 0)) as? HomepageItemCollectionViewCell
 
-        XCTAssertEqual(item.title, cell?.itemTitleLabel.text)
+        XCTAssertEqual(item.title, cellForItem(at: 0)?.itemTitleLabel.text)
     }
 
     func testDequeuedItemsShouldBeProvidedWithCorrectTitlesFromViewModel() {

    private func updateInterface(viewModel: HomepageInterfaceViewModel, applyingDifferences diffs: [Difference]) {
        homepageViewController.updateInterface(viewModel: viewModel, applyingDifferences: [])
        homepageViewController.collectionView.layoutIfNeeded()
    }

    func testHasHomeAsTheTitle() {

        let secondItem = StubHomepageInterfaceItemViewModel(title: "Some other title")
        let viewModel = StubHomepageInterfaceViewModel(items: [firstItem, secondItem])
        updateInterface(viewModel: viewModel, applyingDifferences: [])

        XCTAssertEqual(secondItem.title, cellForItem(at: 1)?.itemTitleLabel.text)
    }

}
