Exemplo n.º 1
0
        public void DeleteRoutingRule_EmptyObjectId_Failure()
        {
            var res = RoutingRule.DeleteRoutingRule(_mockServer, "");

            Assert.IsFalse(res.Success, "Calling DeleteRoutingRule with empty ObjectId should fail");
        }
Exemplo n.º 2
0
        public void DeleteRoutingRule_InvalidObjectId_Failure()
        {
            var res = RoutingRule.DeleteRoutingRule(_connectionServer, "objectid");

            Assert.IsFalse(res.Success, "Calling DeleteRoutingRule with invalid ObjectId should fail");
        }
Exemplo n.º 3
0
        public void DeleteRoutingRule_NullConnectionServer_Failure()
        {
            var res = RoutingRule.DeleteRoutingRule(null, "objectid");

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