Class AccountManagerTest


  • public final class AccountManagerTest
    extends AbstractManagerTest
    This class tests the functions of the Accountmanager.
    • Field Detail

      • mockitoRule

        public org.mockito.junit.MockitoRule mockitoRule
    • Constructor Detail

      • AccountManagerTest

        public AccountManagerTest()
    • Method Detail

      • testNewAccount

        public void testNewAccount()
        Test method for AccountManager::newAccount(AccountID, Credential, String, AccountRole, Credential)
      • testNewAccountWrongAdmin

        public void testNewAccountWrongAdmin()
      • testNewAccountAlreadyExist

        public void testNewAccountAlreadyExist()
      • testNewAccountWrongCredential

        public void testNewAccountWrongCredential()
      • testGetAccountID

        public void testGetAccountID()
      • testGetAccountList

        public void testGetAccountList()
      • testExistsAccount

        public void testExistsAccount()
      • testExistsAccountFails

        public void testExistsAccountFails()
      • testValidateAccountAdmin

        public void testValidateAccountAdmin()
      • testValidateAccountNormal

        public void testValidateAccountNormal()
      • testValidateAccount

        public void testValidateAccount()
      • testValidateAccountWrongAdminRole

        public void testValidateAccountWrongAdminRole()
      • testValidateAccountWrongNormalRole

        public void testValidateAccountWrongNormalRole()
      • testValidateAccountWrongAdminCredential

        public void testValidateAccountWrongAdminCredential()
      • testValidateAccountWrongNormalCredential

        public void testValidateAccountWrongNormalCredential()
      • testValidateAccountWrongCredential

        public void testValidateAccountWrongCredential()
      • testValidateAccountWrongID

        public void testValidateAccountWrongID()