Beispiel #1
0
        public static void MyClassCleanup()
        {
            if (_tempInterviewer != null)
            {
                var res = _tempInterviewer.Delete();
                Assert.IsTrue(res.Success, "Failed to delete temporary interview handler on cleanup");
            }
            if (_tempUser != null)
            {
                WebCallResult res = _tempUser.Delete();
                Assert.IsTrue(res.Success, "Failed to delete temporary user on cleanup.");
            }

            if (_tempContact != null)
            {
                var res = _tempContact.Delete();
                Assert.IsTrue(res.Success, "Failed to delete temporary contact on cleanup.");
            }

            if (_tempRecording != null)
            {
                var res = _tempRecording.Delete();
                Assert.IsTrue(res.Success, "Failed to delete temporary post greeting recording on cleanup");
            }
        }
 public static void MyClassCleanup()
 {
     if (_tempGreeting != null)
     {
         WebCallResult res = _tempGreeting.Delete();
         Assert.IsTrue(res.Success, "Failed to delete temporary post greeting recording on cleanup.");
     }
 }