Class com.commercetools.pspadapter.payone.mapping.MappingUtilTest

18

tests

0

failures

0

ignored

0.500s

duration

100%

successful

Tests

Test Duration Result
WhenMissingShippingAddressReturnOneToSetValueForNoShipping 0.007s passed
WhenNoShippingAddressThrowException 0.008s passed
WhenShippingAddressIsNullReturnOneToSetValueForNoShipping 0.004s passed
WhenShippingAddressIsPresentReturnZeroToSetValueForNoShipping 0.006s passed
WhenWalletPaymentAndNoShippingAddressShouldNotThrowException 0.005s passed
customerNumberDefault 0.004s passed
customerNumberExceedsLength 0.294s passed
dateToBirthdayString_converting 0.002s passed
getFirstValueFromAddresses 0.006s passed
getGenderFromPaymentCart 0.077s passed
getPaymentLanguageTagOrFallback 0.005s passed
getPaymentLanguageTest 0.052s passed
mapAmountPlannedFromPayment_withPrice 0.009s passed
mapAmountPlannedFromPayment_withoutPrice 0.003s passed
streetJoiningFull 0.003s passed
streetJoiningNoName 0.005s passed
streetJoiningNoNumber 0.006s passed
testCountryStateMapping 0.004s passed

Standard output

{"message":"customer.customerNumber exceeds the maximum length of 20! Using substring of customer.id as fallback.","timestamp":"2023-03-25T06:22:58.183Z","loggerName":"com.commercetools.pspadapter.payone.mapping.MappingUtil","severity":"WARN"}