         let verificator = InAppReceiptVerificator(appStoreReceiptURL: testReceiptURL)
         
         var refreshCalled = false
-        verificator.verifyReceipt(using: validator, forceRefresh: false, refresh: { (properties, callback) -> InAppReceiptRefreshRequest in
+        let request = verificator.verifyReceipt(using: validator, forceRefresh: false, refresh: { (properties, callback) -> InAppReceiptRefreshRequest in
             
             refreshCalled = true
             return TestInAppReceiptRefreshRequest(receiptProperties: properties, callback: callback)

        }, completion: { _ in
            
        })
        XCTAssertTrue(validator.validateCalled)
        removeReceiptData(at: testReceiptURL)
    }


            XCTAssertEqual(result, VerifyReceiptResult.error(error: ReceiptError.noReceiptData))
        })
        XCTAssertNotNil(request)
        XCTAssertFalse(validator.validateCalled)
    }

