Exemplo n.º 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");
        }
Exemplo n.º 2
0
        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");
        }
Exemplo n.º 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");
        }