Package org.gbif.api.jackson
Class LicenseSerdeTest
java.lang.Object
org.gbif.api.jackson.LicenseSerdeTest
Test
License serde using LicenseJsonSerializer and LicenseJsonDeserializer.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidCheck the 3 cases where we can not serialize a URL for the license UNSPECIFIED, UNSUPPORTED and null.
-
Constructor Details
-
LicenseSerdeTest
public LicenseSerdeTest()
-
-
Method Details
-
testLicenseSerde
- Throws:
IOException
-
testLicenseSerdeNoUrl
Check the 3 cases where we can not serialize a URL for the license UNSPECIFIED, UNSUPPORTED and null.- Throws:
IOException
-
testFromLicenseName
- Throws:
IOException
-