Class org.lightningj.paywall.paymentflow.BasePaymentFlowManagerSpec
Tests
| Test |
Duration |
Result |
| Verify that findToken check cookie if parameter and header was null and returns it's value if not null |
0.002s |
passed |
| Verify that findToken check header if parameter was null and returns it's value if not null |
0s |
passed |
| Verify that findToken check parameter first and returns it's value if not null |
0.001s |
passed |
| Verify that findToken doesn't check cookie of cookieName is null |
0.001s |
passed |
| Verify that findToken doesn't check header of headerName is null |
0.001s |
passed |
| Verify that findToken doesn't check parameters of parameterName is null |
0s |
passed |
| Verify that getAndVerifyTokenClaims find the correct token value if expectedTokenType is INVOICE_TOKEN |
0.002s |
passed |
| Verify that getAndVerifyTokenClaims find the correct token value if expectedTokenType is PAYMENT_TOKEN |
0.002s |
passed |
| Verify that getAndVerifyTokenClaims find the correct token value if expectedTokenType is SETTLEMENT_TOKEN |
0.004s |
passed |
| Verify that getAndVerifyTokenClaims throws TokenException if no token found for expectedTokenType is INVOICE_TOKEN |
0.001s |
passed |
| Verify that getAndVerifyTokenClaims throws TokenException if no token found for expectedTokenType is PAYMENT_TOKEN |
0.001s |
passed |
| Verify that getAndVerifyTokenClaims throws TokenException if no token found for expectedTokenType is SETTLEMENT_TOKEN |
0s |
passed |
| Verify that hasSettlementToken returns true if HEADER_PAYMENT header exists |
0s |
passed |
| Verify that lookupPaymentFlow throws InternalErrorException if mode is CENTRAL_PAYMENT_HANDLER |
0.002s |
passed |
| Verity that hasSettlementToken return false if HEADER_PAYMENT header exists doesn't exist |
0s |
passed |