예제 #1
0
        public void UpdateMwi_NullPropertyList_Failure()
        {
            var res = Mwi.UpdateMwi(_mockServer, "UserOBjectId", "ObjectId", null);

            Assert.IsFalse(res.Success, "Calling UpdateMwi with null property list should fail");
        }
예제 #2
0
        public void UpdateMwi_EmptyPropertyList_Failure()
        {
            var res = Mwi.UpdateMwi(_mockServer, "UserOBjectId", "ObjectId", new ConnectionPropertyList());

            Assert.IsFalse(res.Success, "Calling UpdateMwi with empty property list should fail");
        }
예제 #3
0
        public void UpdateMwi_NullConnectionServer_Failure()
        {
            var res = Mwi.UpdateMwi(null, "UserOBjectId", "ObjectId", new ConnectionPropertyList());

            Assert.IsFalse(res.Success, "Calling UpdateMwi with null ConnectionServer should fail");
        }