Beispiel #1
0
        public void UpdatePostGreetingRecording_EmptyDisplayName_Failure()
        {
            var res = PostGreetingRecording.UpdatePostGreetingRecording(_mockServer, "objectid", "");

            Assert.IsFalse(res.Success, "");
        }
Beispiel #2
0
        public void UpdatePostGreetingRecording_NullConnectionServer_Failure()
        {
            var res = PostGreetingRecording.UpdatePostGreetingRecording(null, "objectid", "display name");

            Assert.IsFalse(res.Success, "");
        }
Beispiel #3
0
        public void UpdatePostGreetingRecording_EmptyObjectId_Failure()
        {
            var res = PostGreetingRecording.UpdatePostGreetingRecording(_mockServer, "", "display name");

            Assert.IsFalse(res.Success, "");
        }
        public void UpdatePostGreetingRecording_InvalidObjectId_Failure()
        {
            var res = PostGreetingRecording.UpdatePostGreetingRecording(_connectionServer, "objectid", "display name");

            Assert.IsFalse(res.Success, "calling UpdatePostGreetingRecording with invalid ObjectId did not fail");
        }