         ]
     }
 
-    func testParseOwnershipTypeAssignsTheRightValue() {
+    func testParseOwnershipTypeAssignsTheRightValue() throws {
         let mockEntitlements = [
             "pro_cat": [
                 "expires_date": "2200-07-26T23:50:40Z",

                    "unsubscribe_detected_at": nil
                ]
            ])
        verifyStore(Store.promotional)

        stubResponse(
            entitlements: [

    func verifyRenewal(_ expectedWillRenew: Bool = true,
                       expectedUnsubscribeDetectedAt: Date? = nil,
                       expectedBillingIssueDetectedAt: Date? = nil,
                       entitlement: String = "pro_cat") throws {
        let subscriberInfo = try XCTUnwrap(CustomerInfo(testData: response))
        let proCat = try XCTUnwrap(subscriberInfo.entitlements[entitlement])

        expect(proCat.willRenew) == expectedWillRenew

