Exemple #1
0
        public void UpdateClassOfService_NullConnectionServer_Failure()
        {
            //GetClassesOfService
            var res = ClassOfService.UpdateClassOfService(null, "bogus", null);

            Assert.IsFalse(res.Success, "Static call to UpdateClassOfService did not fail with: null ConnectionServer");
        }
        public void StaticMethodFailures_UpdateClassOfService()
        {
            //GetClassesOfService

            var res = ClassOfService.UpdateClassOfService(_connectionServer, "bogus", null);

            Assert.IsFalse(res.Success, "Static call to UpdateClassOfService did not fail with: invalid objectId");
        }
Exemple #3
0
        public void UpdateClassOfService_EmptyObjectId_Failure()
        {
            var res = ClassOfService.UpdateClassOfService(_mockServer, "", null);

            Assert.IsFalse(res.Success, "Static call to UpdateClassOfService did not fail with: empty objectId");
        }