Class org.lightningj.paywall.spring.util.RequestHelperSpec

9

tests

0

failures

0

ignored

0.030s

duration

100%

successful

Tests

Test Duration Result
Verify that default value is returned if nothing matches 0s passed
Verify that request ending with .json results in RequestType.JSON 0.001s passed
Verify that request ending with .xml results in RequestType.XML 0.028s passed
Verify that request with RequestType has MediaType application/json 0s passed
Verify that request with RequestType has MediaType application/xml 0s passed
Verify that request with accept header application/json results in JSON 0s passed
Verify that request with accept header application/xml results in XML 0s passed
Verify that request with contentType application/xml results in XML 0.001s passed
Verify that request with contentType application/json results in JSON 0s passed