public extension Group { static func expired( id: String = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", ownerUserId: String = "user_id", productId: String = "1234567890", groupRequirement: GroupRequirement = .init( lowerLimitUserCount: 2, expireDuration: 86400, upperLimitUserCount: 0, upperLimitUserCountSetting: .isNotActive ), expireDate: Date = Date(timeIntervalSince1970: 1_596_683_282), status: GroupStatus = .expired, currentCompletedPurchaseCount: UInt32 = 1, productHandle: String = "product_1", url: String = "https://kauche.dev/groups/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", message: String = "" ) -> Group { .mock(id: id, ownerUserId: ownerUserId, productId: productId, groupRequirement: groupRequirement, expireDate: expireDate, status: status, currentCompletedPurchaseCount: currentCompletedPurchaseCount, productHandle: productHandle, url: url, message: message) } }