[DE-563] Components endpoints tests 1 #106
Annotations
10 errors
ProductPricePointsControllerListAllTest.shouldReturnListWithOriginalPricePointUsingFilterOfTypeDefault:
tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerListAllTest.java#L72
Expected size: 1 but was: 2 in:
[ProductPricePoint [id=35433, name=Original, handle=uuid:95ead4f0-7599-013c-c73a-0286551bb34f, priceInCents=1000, interval=1, intervalUnit=month, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, trialType=payment_expected, introductoryOffer=null, initialChargeInCents=null, initialChargeAfterTrial=false, expirationInterval=null, expirationIntervalUnit=null, productId=32013, archivedAt=null, createdAt=2023-12-05T07:41:50-05:00, updatedAt=2023-12-05T07:41:50-05:00, useSiteExchangeRate=true, type=default, taxIncluded=false, subscriptionId=null],
ProductPricePoint [id=35434, name=Original, handle=uuid:95f440e0-7599-013c-c73b-0286551bb34f, priceInCents=0, interval=2, intervalUnit=month, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, trialType=payment_expected, introductoryOffer=null, initialChargeInCents=null, initialChargeAfterTrial=false, expirationInterval=null, expirationIntervalUnit=null, productId=32014, archivedAt=null, createdAt=2023-12-05T07:41:50-05:00, updatedAt=2023-12-05T07:41:50-05:00, useSiteExchangeRate=true, type=default, taxIncluded=false, subscriptionId=null]]
|
ProductPricePointsControllerListAllTest.shouldReturnListWithPagedPricePoints:
tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerListAllTest.java#L246
Expected size: 0 but was: 1 in:
[ProductPricePoint [id=35437, name=test-price-point-KuxgU, handle=uuid:98157cd0-7599-013c-c73b-0286551bb34f, priceInCents=100, interval=2, intervalUnit=month, trialPriceInCents=4900, trialInterval=1, trialIntervalUnit=month, trialType=payment_expected, introductoryOffer=false, initialChargeInCents=120000, initialChargeAfterTrial=false, expirationInterval=12, expirationIntervalUnit=month, productId=32014, archivedAt=null, createdAt=2023-12-05T07:41:54-05:00, updatedAt=2023-12-05T07:41:54-05:00, useSiteExchangeRate=true, type=catalog, taxIncluded=false, subscriptionId=null]]
|
ProductPricePointsControllerListAllTest.shouldReturnListWithAllPricePointsSortedByCreatedAtDesc:
tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerListAllTest.java#L112
Expected size: 4 but was: 5 in:
[ProductPricePoint [id=35437, name=test-price-point-KuxgU, handle=uuid:98157cd0-7599-013c-c73b-0286551bb34f, priceInCents=100, interval=2, intervalUnit=month, trialPriceInCents=4900, trialInterval=1, trialIntervalUnit=month, trialType=payment_expected, introductoryOffer=false, initialChargeInCents=120000, initialChargeAfterTrial=false, expirationInterval=12, expirationIntervalUnit=month, productId=32014, archivedAt=null, createdAt=2023-12-05T07:41:54-05:00, updatedAt=2023-12-05T07:41:54-05:00, useSiteExchangeRate=true, type=catalog, taxIncluded=false, subscriptionId=null],
ProductPricePoint [id=35436, name=test-price-point-wjxWI, handle=uuid:9761bd10-7599-013c-886e-0636c5deb0ab, priceInCents=100, interval=2, intervalUnit=month, trialPriceInCents=4900, trialInterval=1, trialIntervalUnit=month, trialType=payment_expected, introductoryOffer=false, initialChargeInCents=120000, initialChargeAfterTrial=false, expirationInterval=12, expirationIntervalUnit=month, productId=32014, archivedAt=null, createdAt=2023-12-05T07:41:53-05:00, updatedAt=2023-12-05T07:41:53-05:00, useSiteExchangeRate=true, type=catalog, taxIncluded=false, subscriptionId=null],
ProductPricePoint [id=35435, name=test-price-point-yKWXr, handle=uuid:96abd2f0-7599-013c-c73b-0286551bb34f, priceInCents=100, interval=2, intervalUnit=month, trialPriceInCents=4900, trialInterval=1, trialIntervalUnit=month, trialType=payment_expected, introductoryOffer=false, initialChargeInCents=120000, initialChargeAfterTrial=false, expirationInterval=12, expirationIntervalUnit=month, productId=32014, archivedAt=null, createdAt=2023-12-05T07:41:52-05:00, updatedAt=2023-12-05T07:41:52-05:00, useSiteExchangeRate=true, type=catalog, taxIncluded=false, subscriptionId=null],
ProductPricePoint [id=35434, name=Original, handle=uuid:95f440e0-7599-013c-c73b-0286551bb34f, priceInCents=0, interval=2, intervalUnit=month, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, trialType=payment_expected, introductoryOffer=null, initialChargeInCents=null, initialChargeAfterTrial=false, expirationInterval=null, expirationIntervalUnit=null, productId=32014, archivedAt=null, createdAt=2023-12-05T07:41:50-05:00, updatedAt=2023-12-05T07:41:50-05:00, useSiteExchangeRate=true, type=default, taxIncluded=false, subscriptionId=null],
ProductPricePoint [id=35433, name=Original, handle=uuid:95ead4f0-7599-013c-c73a-0286551bb34f, priceInCents=1000, interval=1, intervalUnit=month, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, trialType=payment_expected, introductoryOffer=null, initialChargeInCents=null, initialChargeAfterTrial=false, expirationInterval=null, expirationIntervalUnit=null, productId=32013, archivedAt=null, createdAt=2023-12-05T07:41:50-05:00, updatedAt=2023-12-05T07:41:50-05:00, useSiteExchangeRate=true, type=default, taxIncluded=false, subscriptionId=null]]
|
ProductsControllerListProductsTest.shouldListProductsFilteringByStartDate:
tests/src/test/java/com/maxio/advancedbilling/controllers/products/ProductsControllerListProductsTest.java#L81
expected:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab]]
but was:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab],
Product [id=31988, name=Initial Sample product-eiWpc, handle=initial-sample-product-y6wow, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:30-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22907, name=Test Product Family y6wow, handle=test-product-family-y6wow, accountingCode=null, description=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:29-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35396, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35396, productPricePointHandle=uuid:897b8990-7599-013c-886e-0636c5deb0ab]]
when comparing elements using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the following fields were ignored in the comparison: updatedAt
- 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
|
ProductsControllerListProductsTest.shouldListProductsUsingPagination:
tests/src/test/java/com/maxio/advancedbilling/controllers/products/ProductsControllerListProductsTest.java#L230
Expected size: 1 but was: 2 in:
[ProductResponse [product=Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab]],
ProductResponse [product=Product [id=31988, name=Initial Sample product-eiWpc, handle=initial-sample-product-y6wow, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:30-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22907, name=Test Product Family y6wow, handle=test-product-family-y6wow, accountingCode=null, description=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:29-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35396, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35396, productPricePointHandle=uuid:897b8990-7599-013c-886e-0636c5deb0ab]]]
|
ProductsControllerListProductsTest.shouldListProductsFilteringByStartDateTime:
tests/src/test/java/com/maxio/advancedbilling/controllers/products/ProductsControllerListProductsTest.java#L122
expected:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab]]
but was:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab],
Product [id=31988, name=Initial Sample product-eiWpc, handle=initial-sample-product-y6wow, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:30-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22907, name=Test Product Family y6wow, handle=test-product-family-y6wow, accountingCode=null, description=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:29-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35396, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35396, productPricePointHandle=uuid:897b8990-7599-013c-886e-0636c5deb0ab]]
when comparing elements using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the following fields were ignored in the comparison: updatedAt
- 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
|
ProductsControllerListProductsTest.shouldListProductsFilteringByEndDate:
tests/src/test/java/com/maxio/advancedbilling/controllers/products/ProductsControllerListProductsTest.java#L101
expected:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab]]
but was:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab],
Product [id=31988, name=Initial Sample product-eiWpc, handle=initial-sample-product-y6wow, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:30-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22907, name=Test Product Family y6wow, handle=test-product-family-y6wow, accountingCode=null, description=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:29-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35396, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35396, productPricePointHandle=uuid:897b8990-7599-013c-886e-0636c5deb0ab]]
when comparing elements using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the following fields were ignored in the comparison: updatedAt
- 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
|
ProductsControllerListProductsTest.shouldListProductsFilteringByEndDateTime:
tests/src/test/java/com/maxio/advancedbilling/controllers/products/ProductsControllerListProductsTest.java#L143
expected:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab]]
but was:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab],
Product [id=31988, name=Initial Sample product-eiWpc, handle=initial-sample-product-y6wow, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:30-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22907, name=Test Product Family y6wow, handle=test-product-family-y6wow, accountingCode=null, description=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:29-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35396, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35396, productPricePointHandle=uuid:897b8990-7599-013c-886e-0636c5deb0ab]]
when comparing elements using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the following fields were ignored in the comparison: updatedAt
- 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
|
ProductsControllerListProductsTest.shouldListProducts:
tests/src/test/java/com/maxio/advancedbilling/controllers/products/ProductsControllerListProductsTest.java#L62
expected:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab]]
but was:
[Product [id=31983, name=Initial Sample product-gdZrF, handle=list-products-0, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35390, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35390, productPricePointHandle=uuid:880c5200-7599-013c-c73b-0286551bb34f],
Product [id=31984, name=Initial Sample product-kuUC3, handle=list-products-1, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:27-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35391, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35391, productPricePointHandle=uuid:882e5a20-7599-013c-886e-0636c5deb0ab],
Product [id=31985, name=Initial Sample product-hF16R, handle=list-products-2, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:27-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35392, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35392, productPricePointHandle=uuid:884893a0-7599-013c-c73b-0286551bb34f],
Product [id=31986, name=Initial Sample product-Qe6ua, handle=list-products-3, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35393, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35393, productPricePointHandle=uuid:8866eea0-7599-013c-886e-0636c5deb0ab],
Product [id=31987, name=Initial Sample product-79qVy, handle=list-products-5, description=A sample product for testing, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:28-05:00, updatedAt=2023-12-05T07:41:28-05:00, priceInCents=22, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=null, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22905, name=Test Product Family 1H8cs, handle=test-product-family-1h8cs, accountingCode=null, description=null, createdAt=2023-12-05T07:41:24-05:00, updatedAt=2023-12-05T07:41:24-05:00], publicSignupPages=[], productPricePointName=Price point to promote, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35395, useSiteExchangeRate=false, itemCategory=null, productPricePointId=35395, productPricePointHandle=uuid:88afe5d0-7599-013c-886f-0636c5deb0ab],
Product [id=31988, name=Initial Sample product-eiWpc, handle=initial-sample-product-y6wow, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:30-05:00, priceInCents=1000, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=true, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=22907, name=Test Product Family y6wow, handle=test-product-family-y6wow, accountingCode=null, description=null, createdAt=2023-12-05T07:41:29-05:00, updatedAt=2023-12-05T07:41:29-05:00], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=35396, useSiteExchangeRate=true, itemCategory=null, productPricePointId=35396, productPricePointHandle=uuid:897b8990-7599-013c-886e-0636c5deb0ab]]
when comparing elements using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the following fields were ignored in the comparison: updatedAt
- 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.
|