Package org.shredzone.acme4j.toolbox
Class JSONBuilderTest
java.lang.Object
org.shredzone.acme4j.toolbox.JSONBuilderTest
Unit test for
JSONBuilder
.-
Constructor Details
-
JSONBuilderTest
public JSONBuilderTest()
-
-
Method Details
-
testEmpty
Test that an empty JSON builder is empty. -
testBasics
Test basic data types. Also test that methods returnthis
, and that existing keys are replaced. -
testDate
Test date type. -
testBase64
Test base64 encoding. -
testKey
Test JWK.- Throws:
IOException
org.jose4j.lang.JoseException
-
testObject
Test sub claims (objects). -
testArray
Test arrays.
-