Class org.lightningj.paywall.spring.controller.GenerateQRCodeControllerSpec
Tests
Test |
Duration |
Result |
Verify that getData returns parameter 'd' if set |
0.004s |
passed |
Verify that getData throws MissingServletRequestParameterException if parameter 'd' is not set |
0.001s |
passed |
Verify that getParameterWithDefaultAsInt returns default value if no parameter is set |
0s |
passed |
Verify that getParameterWithDefaultAsInt returns parameter if set |
0s |
passed |
Verify that getParameterWithDefaultAsInt throws |
0.001s |
passed |
Verify that getParameterWithDefaultAsInt throws internal server error and logs error if default value setting is not an integer |
0.001s |
passed |