Example #1
0
        public void UpdateCallHandlerTemplate_EmptyPropertyList_Failure()
        {
            ConnectionPropertyList oProps = new ConnectionPropertyList();
            var res = CallHandlerTemplate.UpdateCallHandlerTemplate(_mockServer, "objectId", oProps);

            Assert.IsFalse(res.Success, "UpdateCallHandlerTemplate with empty property list did not fail");
        }
        public void StaticCallFailures__UpdateCallHandlerTemplate()
        {
            ConnectionPropertyList oProps = new ConnectionPropertyList();

            oProps.Add("dummy", "dummy");

            var res = CallHandlerTemplate.UpdateCallHandlerTemplate(_connectionServer, "objectId", oProps);

            Assert.IsFalse(res.Success, "UpdateCallHandlerTemplate with invalid ObjectId did not fail");
        }
Example #3
0
        public void UpdateCallHandlerTemplate_EmptyObjectId_Failure()
        {
            var res = CallHandlerTemplate.UpdateCallHandlerTemplate(_mockServer, "", null);

            Assert.IsFalse(res.Success, "UpdateCallHandlerTemplate with empty object did not fail");
        }
Example #4
0
        public void UpdateCallHandlerTemplate_NullConnectionServer_Failure()
        {
            var res = CallHandlerTemplate.UpdateCallHandlerTemplate(null, "objectId", null);

            Assert.IsFalse(res.Success, "UpdateCallHandlerTemplate with null Connection server did not fail");
        }