Пример #1
0
        public void SetDistributionListVoiceNameToStreamFile_NullConnectionServer_Failure()
        {
            var res = DistributionList.SetDistributionListVoiceNameToStreamFile(null, "objectid", "resourceId");

            Assert.IsFalse(res.Success, "Calling SetDistributionListVoiceNameToStreamFile with null ConnectionServerRest did not fail");
        }
Пример #2
0
        public void SetDistributionListVoiceNameToStreamFile_EmptyResourceId_Failure()
        {
            var res = DistributionList.SetDistributionListVoiceNameToStreamFile(_mockServer, "objectid", "");

            Assert.IsFalse(res.Success, "Calling SetDistributionListVoiceNameToStreamFile with empty resource ID did not fail");
        }
Пример #3
0
        public void StaticCallFailures_SetDistributionListVoiceNameToStreamFile()
        {
            var res = DistributionList.SetDistributionListVoiceNameToStreamFile(_connectionServer, "objectid", "resourceId");

            Assert.IsFalse(res.Success, "Calling SetDistributionListVoiceNameToStreamFile with invalid objectId did not fail");
        }