Class org.lightningj.paywall.util.SettingUtilsSpec

33

tests

0

failures

0

ignored

0.013s

duration

100%

successful

Tests

Test Duration Result
Verify that checkBooleanWithDefault returns default value if not set 0.001s passed
Verify that checkBooleanWithDefault returns setting value if set 0s passed
Verify that checkBooleanWithDefault throws InternalErrorException for invalid setting value 0.001s passed
Verify that checkIntegerWithDefault returns default value if not set 0s passed
Verify that checkIntegerWithDefault returns setting value if set 0.001s passed
Verify that checkIntegerWithDefault throws InternalErrorException for invalid setting value 0s passed
Verify that checkLongWithDefault returns default value if not set 0.001s passed
Verify that checkLongWithDefault returns setting value if set 0s passed
Verify that checkLongWithDefault throws InternalErrorException for invalid setting value 0.001s passed
Verify that checkRequiredBoolean returns boolean representation of setting value 0s passed
Verify that checkRequiredBoolean throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredBoolean throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredBoolean throws InternalErrorException if settingValue is NonBoolean 0s passed
Verify that checkRequiredBoolean throws InternalErrorException if settingValue is abc 0s passed
Verify that checkRequiredBoolean throws InternalErrorException if settingValue is null 0.001s passed
Verify that checkRequiredInteger returns integer representation of setting value 0.001s passed
Verify that checkRequiredInteger throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredInteger throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredInteger throws InternalErrorException if settingValue is 123abc 0s passed
Verify that checkRequiredInteger throws InternalErrorException if settingValue is abc 0s passed
Verify that checkRequiredInteger throws InternalErrorException if settingValue is null 0.001s passed
Verify that checkRequiredLong returns integer representation of setting value 0s passed
Verify that checkRequiredLong throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredLong throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredLong throws InternalErrorException if settingValue is 123abc 0s passed
Verify that checkRequiredLong throws InternalErrorException if settingValue is abc 0.001s passed
Verify that checkRequiredLong throws InternalErrorException if settingValue is null 0.001s passed
Verify that checkRequiredString returns same string for non-empty setting 0s passed
Verify that checkRequiredString throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredString throws InternalErrorException if settingValue is 0s passed
Verify that checkRequiredString throws InternalErrorException if settingValue is null 0.002s passed
Verify that checkStringWithDefault returns default value if not set 0.001s passed
Verify that checkStringWithDefault returns setting value if set 0s passed