Пример #1
0
        public void SetPostGreetingRecordingToStreamFile_NullConnectionServer_Failure()
        {
            var res = PostGreetingRecording.SetPostGreetingRecordingToStreamFile(null, "streamid", "objectid", 1033);

            Assert.IsFalse(res.Success, "");
        }
Пример #2
0
        public void SetPostGreetingRecordingToStreamFile_EmptyObjectId_Failure()
        {
            var res = PostGreetingRecording.SetPostGreetingRecordingToStreamFile(_mockServer, "streamid", "", 1033);

            Assert.IsFalse(res.Success, "");
        }
        public void SetPostGreetingRecordingToStreamFile_InvalidStreamIdAndObjectId_Failure()
        {
            var res = PostGreetingRecording.SetPostGreetingRecordingToStreamFile(_connectionServer, "streamid", "objectid", 1033);

            Assert.IsFalse(res.Success, "Calling SetPostGreetingRecordingToStreamFile with invalid streaId and ObjectId did not fail");
        }