public void RemoveAdmin_2()
        {
            IUserProfile UserProfileObj = new UserProfile();

            UserProfileObj.SetEmail("");
            APIResponse ExpectedOutput = APIResponse.NOT_OK;
            APIResponse GotOutput      = APIResponse.NOT_OK;

            try
            {
                UserTemplate <IUserProfile> AdminTemplate = new AdminUserTemplate(UserProfileObj);
                GotOutput = AdminTemplate.Remove();
            }
            catch (Exception)
            {
                GotOutput = APIResponse.NOT_OK;
            }
            Assert.AreEqual(ExpectedOutput, GotOutput);
        }
        public void RemoveAdmin_3()
        {
            IUserProfile UserProfileObj = new UserProfile();

            UserProfileObj.SetEmail("*****@*****.**");
            APIResponse ExpectedOutput = APIResponse.OK;
            APIResponse GotOutput      = APIResponse.NOT_OK;
            UserTemplate <IUserProfile> AdminTemplate = new AdminUserTemplate(UserProfileObj);

            try
            {
                GotOutput = AdminTemplate.Remove();
            }
            catch (Exception)
            {
                GotOutput = APIResponse.NOT_OK;
            }
            // re-add the removed admin to admin
            AdminTemplate.Add();
            Assert.AreEqual(ExpectedOutput, GotOutput);
        }
        public void AddAdmin_3()
        {
            IUserProfile UserProfileObj = new UserProfile();

            UserProfileObj.SetEmail("*****@*****.**");
            APIResponse ExpectedOutput = APIResponse.OK;
            APIResponse GotOutput      = APIResponse.NOT_OK;
            UserTemplate <IUserProfile> AdminTemplate = new AdminUserTemplate(UserProfileObj);

            try
            {
                GotOutput = AdminTemplate.Add();
            }
            catch (Exception)
            {
                GotOutput = APIResponse.NOT_OK;
            }
            Assert.AreEqual(ExpectedOutput, GotOutput);
            // remove the admin rights
            AdminTemplate.Remove();
        }