                     ]
                 ]
             ]])
-        expect(info1).toNot(equal(info2))
-    }
-
-    func testDifferentEntitlementsNotEqual() {
-        let info1 = CustomerInfo(testData: [
+        expect(info1) != info2
+    }
+
+    func testDifferentEntitlementsNotEqual() throws {
+        let info1 = try CustomerInfo(data: [
             "request_date": "2018-12-20T02:40:36Z",
             "subscriber": [
                 "first_seen": "2019-07-17T00:05:54Z",

            ]
        ] as [String: Any]

        let info = CustomerInfo(testData: response)
        XCTAssertEqual(Set(["onemonth_freetrial", "twomonth_freetrial"]), info!.activeSubscriptions)

    }

    func testAllPurchasedProductIdentifiersIncludesNullExpDate() {
        let response = [
            "request_date": "2018-10-19T02:40:36Z",
            "subscriber": [

                    ]
                ]
            ]])
        expect(info1) != info2
    }

    func testSameEntitlementsDifferentRequestDateEqual() throws {
        let info1 = try CustomerInfo(data: [
            "request_date": "2018-12-21T02:40:36Z",
            "subscriber": [
                "first_seen": "2019-07-17T00:05:54Z",
