Release 8.0.0 #596
Annotations
16 errors
|
InvoicesControllerCreateTest.shouldCreateInvoice:
tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerCreateTest.java#L152
Expecting actual:
InvoiceSeller [name=null, address=null, phone=null, logoUrl=null, additionalProperties={tax_id=null}]
to be equal to:
InvoiceSeller [name=Maxio Developer Experience, address=InvoiceAddress [street=Asdf Street, line2=123/444, city=San Antonio, state=TX, zip=78015, country=US, additionalProperties={}], phone=555 111 222, logoUrl=null, additionalProperties={}]
when recursively comparing field by field, but found the following 3 differences:
field/property 'address' differ:
- actual value : null
- expected value: InvoiceAddress [street=Asdf Street, line2=123/444, city=San Antonio, state=TX, zip=78015, country=US, additionalProperties={}]
field/property 'name' differ:
- actual value : null
- expected value: "Maxio Developer Experience"
field/property 'phone' differ:
- actual value : null
- expected value: "555 111 222"
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: address.additionalProperties, additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
InvoicesControllerReadCreditNoteTest.shouldReadCreditNotes:
tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerReadCreditNoteTest.java#L210
Expecting actual:
[InvoiceDiscount [uid=cndli_bzr9zypx57dw5, title=Huuuuge amount discount: 1250, description=Coupon: AMOUNT_DISCOUNT_0406381988 - Huuuuge amount discount: 1250, code=AMOUNT_DISCOUNT_0406381988, sourceType=Coupon, sourceId=737785, discountType=flat_amount, percentage=null, eligibleAmount=13.13, discountAmount=2.63, transactionId=null, lineItemBreakouts=[InvoiceDiscountBreakout [uid=cnli_bzr9zypjppw2j_1, eligibleAmount=2.63, discountAmount=2.63, additionalProperties={}]], additionalProperties={subcode=null}]]
to contain exactly (and in same order):
[InvoiceDiscount [uid=null, title=Huuuuge amount discount: 1250, description=Coupon: AMOUNT_DISCOUNT_0406381988 - Huuuuge amount discount: 1250, code=AMOUNT_DISCOUNT_0406381988, sourceType=Coupon, sourceId=737785, discountType=flat_amount, percentage=null, eligibleAmount=13.13, discountAmount=2.63, transactionId=null, lineItemBreakouts=[InvoiceDiscountBreakout [uid=null, eligibleAmount=2.63, discountAmount=2.63, additionalProperties={}]], additionalProperties={}]]
but some elements were not found:
[InvoiceDiscount [uid=null, title=Huuuuge amount discount: 1250, description=Coupon: AMOUNT_DISCOUNT_0406381988 - Huuuuge amount discount: 1250, code=AMOUNT_DISCOUNT_0406381988, sourceType=Coupon, sourceId=737785, discountType=flat_amount, percentage=null, eligibleAmount=13.13, discountAmount=2.63, transactionId=null, lineItemBreakouts=[InvoiceDiscountBreakout [uid=null, eligibleAmount=2.63, discountAmount=2.63, additionalProperties={}]], additionalProperties={}]]
and others were not expected:
[InvoiceDiscount [uid=cndli_bzr9zypx57dw5, title=Huuuuge amount discount: 1250, description=Coupon: AMOUNT_DISCOUNT_0406381988 - Huuuuge amount discount: 1250, code=AMOUNT_DISCOUNT_0406381988, sourceType=Coupon, sourceId=737785, discountType=flat_amount, percentage=null, eligibleAmount=13.13, discountAmount=2.63, transactionId=null, lineItemBreakouts=[InvoiceDiscountBreakout [uid=cnli_bzr9zypjppw2j_1, eligibleAmount=2.63, discountAmount=2.63, additionalProperties={}]], additionalProperties={subcode=null}]]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the following fields were ignored in the comparison: uid, lineItemBreakouts.uid
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
InvoicesControllerRecordPaymentForInvoiceTest.shouldRecordPaymentUsingExistingPaymentProfile:
tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerRecordPaymentForInvoiceTest.java#L144
Multiple Failures (1 failure)
java.lang.AssertionError:
Expecting actual:
InvoiceSeller [name=null, address=null, phone=null, logoUrl=null, additionalProperties={tax_id=null}]
to be equal to:
InvoiceSeller [name=Maxio Developer Experience, address=InvoiceAddress [street=Asdf Street, line2=123/444, city=San Antonio, state=TX, zip=78015, country=US, additionalProperties={}], phone=555 111 222, logoUrl=null, additionalProperties={}]
when recursively comparing field by field, but found the following 3 differences:
field/property 'address' differ:
- actual value : null
- expected value: InvoiceAddress [street=Asdf Street, line2=123/444, city=San Antonio, state=TX, zip=78015, country=US, additionalProperties={}]
field/property 'name' differ:
- actual value : null
- expected value: "Maxio Developer Experience"
field/property 'phone' differ:
- actual value : null
- expected value: "555 111 222"
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: address.additionalProperties, additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
SubscriptionStatusControllerPauseSubscriptionTest.shouldPauseActiveSubscriptionSettingAutomaticallyResumeAt:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerPauseSubscriptionTest.java#L59
Expecting actual:
Subscription [id=89278224, state=on_hold, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:02-05:00, nextAssessmentAt=2026-01-04T09:05:02-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:04-05:00, expiresAt=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:05-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:02-05:00, previousState=active, signupPaymentId=1468214954, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John0366646418, lastName=Doe3004014029, email=john.doe+test3100589872@maxio.com, ccEmails=ccemail7013280046@maxio.com, organization=Maxio Org 3630497687, reference=john0366646418_doe3004014029, id=93527718, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 7837306739, address2=Address2 line9841657480, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=700444985, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001378, name=My Super Product 1475164116, handle=my-super-product-1475164116, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908382, name=Test Product Family 5499206294, handle=test-product-family-ubjzmfwzqwb3aieppykv, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890904, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890904, productPricePointHandle=uuid:26b39ce0-b348-013e-779a-0215c0fafa7d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463055, firstName=John0366646418, lastName=Doe3004014029, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527718, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:03-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=yk8g65, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=2025-12-07T09:05:05-05:00, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890904, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=2025-12-04T09:05:05-05:00, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278224, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:02-05:00, nextAssessmentAt=2026-01-04T09:05:02-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:04-05:00, expiresAt=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:04-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:02-05:00, previousState=active, signupPaymentId=1468214954, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John0366646418, lastName=Doe3004014029, email=john.doe+test3100589872@maxio.com, ccEmails=ccemail7013280046@maxio.com, organization=Maxio Org 3630497687, reference=john0366646418_doe3004014029, id=93527718, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 7837306739, address2=Address2 line9841657480, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=700444985, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001378, name=My Super Product 1475164116, handle=my-super-product-1475164116, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908382, name=Test Product Family 5499206294, handle=test-product-family-ubjzmfwzqwb3aieppykv, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890904, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890904, productPricePointHandle=uuid:26b39ce0-b348-013e-779a-0215c0fafa7d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463055, firstName=John0366646418, lastName=Doe3004014029, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527718, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:03-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=yk8g65, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890904, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: state, updatedAt, onHoldAt, prepaidDunning, productPricePointType, automaticallyResumeAt, dunningCommunicationDelayEnabled, customer.countryName, customer.stateName, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
ProductPricePointsControllerListAllTest.shouldReturnListWithOriginalPricePointUsingFilterOfTypeDefault:
tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerListAllTest.java#L91
Multiple Failures (1 failure)
org.opentest4j.AssertionFailedError:
expected: "payment_expected"
but was: payment_expected
|
|
ProductPricePointsControllerListTest.shouldReturnListWithOriginalPricePointOnly:
tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerListTest.java#L61
Multiple Failures (1 failure)
org.opentest4j.AssertionFailedError:
expected: "payment_expected"
but was: payment_expected
|
|
ProductPricePointsControllerCreateTest.shouldReturn201AndCreatePricePoint:
tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerCreateTest.java#L56
Multiple Failures (1 failure)
org.opentest4j.AssertionFailedError:
expected: "payment_expected"
but was: payment_expected
|
|
SubscriptionComponentsBulkResetSubscriptionComponentsPricePointsTest.shouldResetSubscriptionComponentsPricePoints:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptioncomponents/SubscriptionComponentsBulkResetSubscriptionComponentsPricePointsTest.java#L107
Expecting actual:
Subscription [id=89278106, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:03:35-05:00, nextAssessmentAt=2026-01-04T09:03:35-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:03:37-05:00, expiresAt=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:37-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:03:35-05:00, previousState=active, signupPaymentId=1468213870, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John8036850827, lastName=Doe8564037367, email=john.doe+test5453201204@maxio.com, ccEmails=ccemail3089418106@maxio.com, organization=Maxio Org 8926815876, reference=john8036850827_doe8564037367, id=93527644, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:35-05:00, address=Maple Street 0848892376, address2=Address2 line2740161228, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=104069033, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001287, name=My Super Product 8830272635, handle=my-super-product-8830272635, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:35-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908307, name=Test Product Family 1834145847, handle=test-product-family-aeyv7umerelvfjbrw17n, accountingCode=null, description=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:35-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890779, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890779, productPricePointHandle=uuid:f2c32db0-b347-013e-0e87-02b7f9ecc5f5, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67462940, firstName=John8036850827, lastName=Doe8564037367, maskedCardNumber=XXXX-XXXX-XXXX-1111, cardType=visa, expirationMonth=5, expirationYear=2035, customerId=93527644, currentVault=bogus, vaultToken=1, billingAddress=My Billing Address, billingCity=New York, billingState=NY, billingZip=10001, billingCountry=USA, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:36-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=qx67r4, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890779, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278106, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:03:35-05:00, nextAssessmentAt=2026-01-04T09:03:35-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:03:37-05:00, expiresAt=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:37-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:03:35-05:00, previousState=active, signupPaymentId=1468213870, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John8036850827, lastName=Doe8564037367, email=john.doe+test5453201204@maxio.com, ccEmails=ccemail3089418106@maxio.com, organization=Maxio Org 8926815876, reference=john8036850827_doe8564037367, id=93527644, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:35-05:00, address=Maple Street 0848892376, address2=Address2 line2740161228, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=104069033, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001287, name=My Super Product 8830272635, handle=my-super-product-8830272635, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:35-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908307, name=Test Product Family 1834145847, handle=test-product-family-aeyv7umerelvfjbrw17n, accountingCode=null, description=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:35-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890779, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890779, productPricePointHandle=uuid:f2c32db0-b347-013e-0e87-02b7f9ecc5f5, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67462940, firstName=John8036850827, lastName=Doe8564037367, maskedCardNumber=XXXX-XXXX-XXXX-1111, cardType=visa, expirationMonth=5, expirationYear=2035, customerId=93527644, currentVault=bogus, vaultToken=1, billingAddress=My Billing Address, billingCity=New York, billingState=NY, billingZip=10001, billingCountry=USA, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:03:35-05:00, updatedAt=2025-12-04T09:03:36-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=qx67r4, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890779, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: customer.countryName, customer.stateName, dunningCommunicationDelayEnabled, dunningCommunicationDelayTimeZone, group, prepaidDunning, productPricePointType, updatedAt, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
InvoicesControllerListInvoiceEventsTest.shouldReturnInvoiceEventsForExistingInvoice:
tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListInvoiceEventsTest.java#L184
Multiple Failures (1 failure)
-- failure 1 --
expected: 15
but was: 17
at InvoicesControllerListInvoiceEventsTest.lambda$assertInvoiceInEvent$3(InvoicesControllerListInvoiceEventsTest.java:410)
|
|
SubscriptionStatusControllerPauseSubscriptionTest.shouldPauseActiveSubscription:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerPauseSubscriptionTest.java#L34
Expecting actual:
Subscription [id=89278236, state=on_hold, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:08-05:00, nextAssessmentAt=2026-01-04T09:05:08-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:09-05:00, expiresAt=null, createdAt=2025-12-04T09:05:08-05:00, updatedAt=2025-12-04T09:05:10-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:08-05:00, previousState=active, signupPaymentId=1468215068, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John0366646418, lastName=Doe3004014029, email=john.doe+test3100589872@maxio.com, ccEmails=ccemail7013280046@maxio.com, organization=Maxio Org 3630497687, reference=john0366646418_doe3004014029, id=93527718, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 7837306739, address2=Address2 line9841657480, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=700444985, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001378, name=My Super Product 1475164116, handle=my-super-product-1475164116, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908382, name=Test Product Family 5499206294, handle=test-product-family-ubjzmfwzqwb3aieppykv, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890904, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890904, productPricePointHandle=uuid:26b39ce0-b348-013e-779a-0215c0fafa7d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463068, firstName=John0366646418, lastName=Doe3004014029, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527718, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:08-05:00, updatedAt=2025-12-04T09:05:08-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=7h9v7r, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890904, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=2025-12-04T09:05:10-05:00, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278236, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:08-05:00, nextAssessmentAt=2026-01-04T09:05:08-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:09-05:00, expiresAt=null, createdAt=2025-12-04T09:05:08-05:00, updatedAt=2025-12-04T09:05:10-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:08-05:00, previousState=active, signupPaymentId=1468215068, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John0366646418, lastName=Doe3004014029, email=john.doe+test3100589872@maxio.com, ccEmails=ccemail7013280046@maxio.com, organization=Maxio Org 3630497687, reference=john0366646418_doe3004014029, id=93527718, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 7837306739, address2=Address2 line9841657480, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=700444985, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001378, name=My Super Product 1475164116, handle=my-super-product-1475164116, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908382, name=Test Product Family 5499206294, handle=test-product-family-ubjzmfwzqwb3aieppykv, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890904, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890904, productPricePointHandle=uuid:26b39ce0-b348-013e-779a-0215c0fafa7d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463068, firstName=John0366646418, lastName=Doe3004014029, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527718, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:08-05:00, updatedAt=2025-12-04T09:05:08-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=7h9v7r, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890904, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: state, updatedAt, onHoldAt, prepaidDunning, productPricePointType, dunningCommunicationDelayEnabled, customer.countryName, customer.stateName, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
SubscriptionStatusControllerPauseSubscriptionTest.shouldUpdatePausedSubscriptionAutomaticResumptionDateToNull:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerPauseSubscriptionTest.java#L92
Expecting actual:
Subscription [id=89278230, state=on_hold, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:06-05:00, nextAssessmentAt=2026-01-04T09:05:06-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:07-05:00, expiresAt=null, createdAt=2025-12-04T09:05:06-05:00, updatedAt=2025-12-04T09:05:08-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:06-05:00, previousState=active, signupPaymentId=1468215023, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John0366646418, lastName=Doe3004014029, email=john.doe+test3100589872@maxio.com, ccEmails=ccemail7013280046@maxio.com, organization=Maxio Org 3630497687, reference=john0366646418_doe3004014029, id=93527718, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 7837306739, address2=Address2 line9841657480, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=700444985, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001378, name=My Super Product 1475164116, handle=my-super-product-1475164116, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908382, name=Test Product Family 5499206294, handle=test-product-family-ubjzmfwzqwb3aieppykv, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890904, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890904, productPricePointHandle=uuid:26b39ce0-b348-013e-779a-0215c0fafa7d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463062, firstName=John0366646418, lastName=Doe3004014029, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527718, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:06-05:00, updatedAt=2025-12-04T09:05:06-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=9hs5gs, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890904, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=2025-12-04T09:05:08-05:00, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278230, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:06-05:00, nextAssessmentAt=2026-01-04T09:05:06-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:07-05:00, expiresAt=null, createdAt=2025-12-04T09:05:06-05:00, updatedAt=2025-12-04T09:05:07-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:06-05:00, previousState=active, signupPaymentId=1468215023, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John0366646418, lastName=Doe3004014029, email=john.doe+test3100589872@maxio.com, ccEmails=ccemail7013280046@maxio.com, organization=Maxio Org 3630497687, reference=john0366646418_doe3004014029, id=93527718, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 7837306739, address2=Address2 line9841657480, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=700444985, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001378, name=My Super Product 1475164116, handle=my-super-product-1475164116, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908382, name=Test Product Family 5499206294, handle=test-product-family-ubjzmfwzqwb3aieppykv, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890904, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890904, productPricePointHandle=uuid:26b39ce0-b348-013e-779a-0215c0fafa7d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463062, firstName=John0366646418, lastName=Doe3004014029, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527718, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:06-05:00, updatedAt=2025-12-04T09:05:06-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=9hs5gs, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890904, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: state, updatedAt, onHoldAt, prepaidDunning, productPricePointType, automaticallyResumeAt, dunningCommunicationDelayEnabled, customer.countryName, customer.stateName, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
SubscriptionStatusControllerReactivateSubscriptionTest.shouldReactivateSubscription:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerReactivateSubscriptionTest.java#L49
Expecting actual:
Subscription [id=89278233, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:07-05:00, nextAssessmentAt=2026-01-04T09:05:07-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:08-05:00, expiresAt=null, createdAt=2025-12-04T09:05:07-05:00, updatedAt=2025-12-04T09:05:09-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:07-05:00, previousState=canceled, signupPaymentId=1468215038, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John1110905409, lastName=Doe5813874246, email=john.doe+test3876631462@maxio.com, ccEmails=ccemail5333296600@maxio.com, organization=Maxio Org 6636919899, reference=john1110905409_doe5813874246, id=93527719, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 8648984472, address2=Address2 line4946100105, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=348142273, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001379, name=My Super Product 2523001722, handle=my-super-product-2523001722, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908383, name=Test Product Family 7373866528, handle=test-product-family-3dy0m0wofkrl9fqsqev2, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890905, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890905, productPricePointHandle=uuid:26cd10c0-b348-013e-b753-062b1dda7e9d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463065, firstName=John1110905409, lastName=Doe5813874246, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527719, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:07-05:00, updatedAt=2025-12-04T09:05:07-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=b4qdfn, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890905, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278233, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:07-05:00, nextAssessmentAt=2026-01-04T09:05:07-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:08-05:00, expiresAt=null, createdAt=2025-12-04T09:05:07-05:00, updatedAt=2025-12-04T09:05:08-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:07-05:00, previousState=active, signupPaymentId=1468215038, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John1110905409, lastName=Doe5813874246, email=john.doe+test3876631462@maxio.com, ccEmails=ccemail5333296600@maxio.com, organization=Maxio Org 6636919899, reference=john1110905409_doe5813874246, id=93527719, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, address=Maple Street 8648984472, address2=Address2 line4946100105, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=348142273, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001379, name=My Super Product 2523001722, handle=my-super-product-2523001722, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908383, name=Test Product Family 7373866528, handle=test-product-family-3dy0m0wofkrl9fqsqev2, accountingCode=null, description=null, createdAt=2025-12-04T09:05:02-05:00, updatedAt=2025-12-04T09:05:02-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890905, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890905, productPricePointHandle=uuid:26cd10c0-b348-013e-b753-062b1dda7e9d, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463065, firstName=John1110905409, lastName=Doe5813874246, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527719, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:07-05:00, updatedAt=2025-12-04T09:05:07-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=b4qdfn, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890905, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: updatedAt, cancelAtEndOfPeriod, previousState, productPricePointType, dunningCommunicationDelayEnabled, prepaidDunning, customer.countryName, customer.stateName, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
SubscriptionStatusControllerRetrySubscriptionTest.shouldRetryFailedSubscription:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerRetrySubscriptionTest.java#L29
Expecting actual:
Subscription [id=89278248, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:14-05:00, nextAssessmentAt=2026-01-04T09:05:14-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:15-05:00, expiresAt=null, createdAt=2025-12-04T09:05:14-05:00, updatedAt=2025-12-04T09:05:16-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:14-05:00, previousState=active, signupPaymentId=1468215138, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John7368761457, lastName=Doe3551558954, email=john.doe+test4563594988@maxio.com, ccEmails=ccemail5112750339@maxio.com, organization=Maxio Org 4408429636, reference=john7368761457_doe3551558954, id=93527725, createdAt=2025-12-04T09:05:11-05:00, updatedAt=2025-12-04T09:05:11-05:00, address=Maple Street 6725702365, address2=Address2 line4603903146, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=108291575, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001384, name=My Super Product 8853175329, handle=my-super-product-8853175329, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:11-05:00, updatedAt=2025-12-04T09:05:11-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908388, name=Test Product Family 2465221044, handle=test-product-family-ci1hkvme5xb9n4xdsd54, accountingCode=null, description=null, createdAt=2025-12-04T09:05:11-05:00, updatedAt=2025-12-04T09:05:11-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890910, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890910, productPricePointHandle=uuid:2c025f40-b348-013e-6c7d-0a0a1fe5f75b, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463079, firstName=John7368761457, lastName=Doe3551558954, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527725, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:14-05:00, updatedAt=2025-12-04T09:05:14-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=7m6tbf, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890910, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278248, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:14-05:00, nextAssessmentAt=2026-01-04T09:05:14-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:15-05:00, expiresAt=null, createdAt=2025-12-04T09:05:14-05:00, updatedAt=2025-12-04T09:05:15-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:14-05:00, previousState=active, signupPaymentId=1468215138, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John7368761457, lastName=Doe3551558954, email=john.doe+test4563594988@maxio.com, ccEmails=ccemail5112750339@maxio.com, organization=Maxio Org 4408429636, reference=john7368761457_doe3551558954, id=93527725, createdAt=2025-12-04T09:05:11-05:00, updatedAt=2025-12-04T09:05:11-05:00, address=Maple Street 6725702365, address2=Address2 line4603903146, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=108291575, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001384, name=My Super Product 8853175329, handle=my-super-product-8853175329, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:11-05:00, updatedAt=2025-12-04T09:05:11-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908388, name=Test Product Family 2465221044, handle=test-product-family-ci1hkvme5xb9n4xdsd54, accountingCode=null, description=null, createdAt=2025-12-04T09:05:11-05:00, updatedAt=2025-12-04T09:05:11-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890910, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890910, productPricePointHandle=uuid:2c025f40-b348-013e-6c7d-0a0a1fe5f75b, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463079, firstName=John7368761457, lastName=Doe3551558954, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527725, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:14-05:00, updatedAt=2025-12-04T09:05:14-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=7m6tbf, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890910, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: productPricePointType, prepaidDunning, updatedAt, dunningCommunicationDelayEnabled, customer.countryName, customer.stateName, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
SubscriptionStatusControllerUpdateAutomaticResumptionTest.shouldUpdatePausedSubscriptionAutomaticResumptionDate:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerUpdateAutomaticResumptionTest.java#L39
Expecting actual:
Subscription [id=89278254, state=on_hold, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:17-05:00, nextAssessmentAt=2026-01-04T09:05:17-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:19-05:00, expiresAt=null, createdAt=2025-12-04T09:05:17-05:00, updatedAt=2025-12-04T09:05:20-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:17-05:00, previousState=active, signupPaymentId=1468215189, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John2976539215, lastName=Doe0688174969, email=john.doe+test8910031826@maxio.com, ccEmails=ccemail8257551475@maxio.com, organization=Maxio Org 5016563941, reference=john2976539215_doe0688174969, id=93527729, createdAt=2025-12-04T09:05:13-05:00, updatedAt=2025-12-04T09:05:13-05:00, address=Maple Street 3635104533, address2=Address2 line3471817221, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=000353218, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001386, name=My Super Product 3021537874, handle=my-super-product-3021537874, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:13-05:00, updatedAt=2025-12-04T09:05:13-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908390, name=Test Product Family 0823514214, handle=test-product-family-n6qcqezg79w5bpvrgpmo, accountingCode=null, description=null, createdAt=2025-12-04T09:05:13-05:00, updatedAt=2025-12-04T09:05:13-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890912, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890912, productPricePointHandle=uuid:2d2d7ee0-b348-013e-0e8d-02b7f9ecc5f5, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463084, firstName=John2976539215, lastName=Doe0688174969, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527729, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:17-05:00, updatedAt=2025-12-04T09:05:18-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=vzn9wh, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=2025-12-07T09:05:19-05:00, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890912, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=2025-12-04T09:05:19-05:00, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278254, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:17-05:00, nextAssessmentAt=2026-01-04T09:05:17-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:19-05:00, expiresAt=null, createdAt=2025-12-04T09:05:17-05:00, updatedAt=2025-12-04T09:05:19-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:17-05:00, previousState=active, signupPaymentId=1468215189, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John2976539215, lastName=Doe0688174969, email=john.doe+test8910031826@maxio.com, ccEmails=ccemail8257551475@maxio.com, organization=Maxio Org 5016563941, reference=john2976539215_doe0688174969, id=93527729, createdAt=2025-12-04T09:05:13-05:00, updatedAt=2025-12-04T09:05:13-05:00, address=Maple Street 3635104533, address2=Address2 line3471817221, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=000353218, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001386, name=My Super Product 3021537874, handle=my-super-product-3021537874, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:13-05:00, updatedAt=2025-12-04T09:05:13-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908390, name=Test Product Family 0823514214, handle=test-product-family-n6qcqezg79w5bpvrgpmo, accountingCode=null, description=null, createdAt=2025-12-04T09:05:13-05:00, updatedAt=2025-12-04T09:05:13-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890912, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890912, productPricePointHandle=uuid:2d2d7ee0-b348-013e-0e8d-02b7f9ecc5f5, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463084, firstName=John2976539215, lastName=Doe0688174969, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527729, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:17-05:00, updatedAt=2025-12-04T09:05:18-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=vzn9wh, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890912, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: state, updatedAt, onHoldAt, prepaidDunning, productPricePointType, automaticallyResumeAt, dunningCommunicationDelayEnabled, customer.countryName, customer.stateName, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
SubscriptionStatusControllerResumeSubscriptionTest.shouldResumePausedSubscription:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerResumeSubscriptionTest.java#L34
Expecting actual:
Subscription [id=89278252, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:16-05:00, nextAssessmentAt=2026-01-04T09:05:16-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:17-05:00, expiresAt=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:19-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:16-05:00, previousState=on_hold, signupPaymentId=1468215151, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John6159887155, lastName=Doe7210912219, email=john.doe+test6724069957@maxio.com, ccEmails=ccemail4190951949@maxio.com, organization=Maxio Org 0750546639, reference=john6159887155_doe7210912219, id=93527731, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, address=Maple Street 1889225939, address2=Address2 line6530240548, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=002800781, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, business_type=null, vat_country=null, vat_status=not_verified, vat_validated_at=null}], product=Product [id=7001387, name=My Super Product 2627813183, handle=my-super-product-2627813183, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908391, name=Test Product Family 7007268525, handle=test-product-family-ui97rdytzpnpjfp6nifz, accountingCode=null, description=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890913, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890913, productPricePointHandle=uuid:2ef0c9d0-b348-013e-b85e-06de0fa030d9, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463083, firstName=John6159887155, lastName=Doe7210912219, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527731, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, additionalProperties={card_funding_source=null}], group=null, bankAccount=null, paymentType=credit_card, referralCode=n34w9y, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890913, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
to be equal to:
Subscription [id=89278252, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2026-01-04T09:05:16-05:00, nextAssessmentAt=2026-01-04T09:05:16-05:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2025-12-04T09:05:17-05:00, expiresAt=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:17-05:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2025-12-04T09:05:16-05:00, previousState=active, signupPaymentId=1468215151, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John6159887155, lastName=Doe7210912219, email=john.doe+test6724069957@maxio.com, ccEmails=ccemail4190951949@maxio.com, organization=Maxio Org 0750546639, reference=john6159887155_doe7210912219, id=93527731, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, address=Maple Street 1889225939, address2=Address2 line6530240548, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=002800781, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, salesforceId=null, taxExemptReason=null, defaultAutoRenewalProfileId=null, additionalProperties={address_3=null, vat_country=null, vat_status=not_verified, vat_validated_at=null, business_type=null}], product=Product [id=7001387, name=My Super Product 2627813183, handle=my-super-product-2627813183, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2908391, name=Test Product Family 7007268525, handle=test-product-family-ui97rdytzpnpjfp6nifz, accountingCode=null, description=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=3890913, useSiteExchangeRate=true, itemCategory=null, productPricePointId=3890913, productPricePointHandle=uuid:2ef0c9d0-b348-013e-b85e-06de0fa030d9, additionalProperties={}], creditCard=CreditCardPaymentProfile [paymentType=credit_card, id=67463083, firstName=John6159887155, lastName=Doe7210912219, maskedCardNumber=XXXX-XXXX-XXXX-1, cardType=bogus, expirationMonth=12, expirationYear=2035, customerId=93527731, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, createdAt=2025-12-04T09:05:16-05:00, updatedAt=2025-12-04T09:05:16-05:00, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=n34w9y, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=3890913, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}]
when recursively comparing field by field, but found the following difference:
field/property 'creditCard.additionalProperties' differ:
- actual value : {"card_funding_source"=null}
- expected value: {}
actual and expected values are maps of different size, actual size=1 when expected size=0
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: updatedAt, prepaidDunning, previousState, productPricePointType, dunningCommunicationDelayEnabled, customer.countryName, customer.stateName, customer.locale, customer.additionalProperties
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
|
test
Process completed with exit code 1.
|