 
         testGallery.singleTapAction(recognizer: singleTap)
 
-        expect(self.testHelper.didTellDelegateTapToClose).to(equal(true))
+        XCTAssert(self.testHelper.didTellDelegateTapToClose == true)
     }
 
     func testSetCurrentPage() {


        testGallery.reload()

        expect(helperCollectionView.reloadDataCalled).to(beTrue())
    }

    func testReloadWithParameters() {

        let indexPath = IndexPath(item: 0, section: 0)
        testGallery.imageCollectionView.reloadItems(at: [indexPath])

        XCTAssert(self.testHelper.timesAskedForImageInGallery[0]! > 0)
        XCTAssert(self.testHelper.timesAskedForImageInGallery[1]! > 0)
    }

    func testSetDataSourceReloadsImages() {
        let newDataSource = SwiftPhotoGalleryTestHelper()

        XCTAssert(newDataSource.timesAskedForNumberOfImagesInGallery == 0)

        testGallery.dataSource = newDataSource

