Пример #1
0
        public void Update_InvalidHomeServer_Failure()
        {
            var oTemp = new Mwi(_mockServer, "ObjectId");

            oTemp.UsePrimaryExtension = false;
            var res = oTemp.Update();

            Assert.IsFalse(res.Success, "Update should fail with invalid HomeServer property updates");
        }
Пример #2
0
        public void Update_NoPendingChanges_Failure()
        {
            var oTemp = new Mwi(_mockServer, "ObjectId");

            oTemp.ClearPendingChanges();
            var res = oTemp.Update();

            Assert.IsFalse(res.Success, "Update should fail with no pending updates");
        }