Package org.shredzone.acme4j
Class AccountTest
java.lang.Object
org.shredzone.acme4j.AccountTest
Unit tests for
Account
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test that a bad domain parameter is not accepted.void
Test that the account key can be changed.void
Test that the same account key is not accepted for change.void
Test that an account can be deactivated.void
Test lazy loading.void
Test that an account can be modified.void
Test that a new order can be created.void
Test that a domain pre-authorization can fail.void
Test that a domain can be pre-authorized.void
Test that a account can be updated.
-
Constructor Details
-
AccountTest
public AccountTest()
-
-
Method Details
-
testUpdateAccount
Test that a account can be updated.- Throws:
AcmeException
IOException
-
testLazyLoading
Test lazy loading.- Throws:
IOException
-
testPreAuthorizeDomain
Test that a domain can be pre-authorized.- Throws:
Exception
-
testNoPreAuthorizeDomain
Test that a domain pre-authorization can fail.- Throws:
Exception
-
testAuthorizeBadDomain
Test that a bad domain parameter is not accepted.- Throws:
Exception
-
testChangeKey
Test that the account key can be changed.- Throws:
Exception
-
testChangeSameKey
Test that the same account key is not accepted for change. -
testDeactivate
Test that an account can be deactivated.- Throws:
Exception
-
testNewOrder
Test that a new order can be created.- Throws:
AcmeException
IOException
-
testModify
Test that an account can be modified.- Throws:
Exception
-