public void AppointOwner_NoCertification_ShouldFail()
        {
            LoginSessionSuccess(REGISTERED_SESSION_ID, BUYER_USERNAME);
            string json = AppointOwnerError(REGISTERED_SESSION_ID, FIRST_STORE_ID, FIRST_OWNER_USERNAME);

            Assert.IsNotNull(json);
            CertificationException e = JsonConvert.DeserializeObject <CertificationException>(json);

            Assert.IsNotNull(e);
            Assert.IsTrue(e.Message.ToLower().Contains("no certification"));
        }
        public void RemovePermission_NoCertification_ShouldFail()
        {
            AddPermission_Owner_ShouldPass();
            Assert.DoesNotThrow(() => LogoutSessionSuccess(REGISTERED_SESSION_ID));
            LoginSessionSuccess(REGISTERED_SESSION_ID, BUYER_USERNAME);
            string json = RemovePermissionError(REGISTERED_SESSION_ID, FIRST_STORE_ID, STORE_MANAGER_USERNAME, PERM_INV);

            Assert.IsNotNull(json);
            CertificationException e = JsonConvert.DeserializeObject <CertificationException>(json);

            Assert.IsNotNull(e);
            Assert.IsTrue(e.Message.ToLower().Contains("no certification"));
        }