Class org.lightningj.paywall.spring.SpringLNDLightningHandlerSpec

16

tests

0

failures

0

ignored

0.013s

duration

100%

successful

Tests

Test Duration Result
Verify that getHost() return the setting for lndHostname 0.004s passed
Verify that getHost() throws InternalErrorException if not set 0s passed
Verify that getMacaroonPath() return the setting for lndMacaroonPath 0s passed
Verify that getMacaroonPath() throws InternalErrorException if not set 0.001s passed
Verify that getNodeInfoFromConfiguration returns NodeInfo if paywall.invoice.connectstring is set and if paywall.invoice.includenodeinfo is true but no network have been set 0s passed
Verify that getNodeInfoFromConfiguration returns NodeInfo if paywall.lnd.connectstring is set and if paywall.invoice.includenodeinfo is true and network have been set 0.001s passed
Verify that getNodeInfoFromConfiguration returns an empty NodeInfo if paywall.invoice.includenodeinfo is set to false 0s passed
Verify that getNodeInfoFromConfiguration returns null if paywall.invoice.includenodeinfo is true but no connect string was set 0.001s passed
Verify that getNodeInfoFromConfiguration throws InternalErrorException if invalid configured paywall.lnd.connectstring. 0.001s passed
Verify that getNodeInfoFromConfiguration throws InternalErrorException if invalid configured paywall.lnd.network. 0.001s passed
Verify that getPort() return the setting for lndPort 0s passed
Verify that getPort() throws InternalErrorException if not set 0.001s passed
Verify that getPort() throws InternalErrorException if setting is non integer 0s passed
Verify that getSupportedCurrencyCode returns configuration from paywall properties. 0.001s passed
Verify that getTLSCertPath() return the setting for lndTLSCertPath 0.001s passed
Verify that getTLSCertPath() throws InternalErrorException if not set 0.001s passed