Пример #1
0
        public void DeletePrivateList_EmptyUserObjectId_Failure()
        {
            var res = PrivateList.DeletePrivateList(_mockServer, "Object", "");

            Assert.IsFalse(res.Success, "Deleting private list via static method did not fail with empty user ObjectId");
        }
        public void DeletePrivateList_InvalidUserObjectIdAndObjectId_Failure()
        {
            var res = PrivateList.DeletePrivateList(_connectionServer, "Object", "UserObjectId");

            Assert.IsFalse(res.Success, "Deleting private list via static method did not fail with invalid user and ObjectIds");
        }
Пример #3
0
        public void DeletePrivateList_NullConnectionServer_Failure()
        {
            var res = PrivateList.DeletePrivateList(null, "Object", "UserObjectId");

            Assert.IsFalse(res.Success, "Deleting private list via static method did not fail with invalid null ConnectionString");
        }