Example #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");
            }
        }
Example #2
0
 public static void MyClassCleanup()
 {
     if (_tempInterviewer != null)
     {
         var res = _tempInterviewer.Delete();
         Assert.IsTrue(res.Success, "Failed to delete temporary interview handler on cleanup");
     }
 }
 public static void MyClassCleanup()
 {
     if (_tempHandler != null)
     {
         WebCallResult res = _tempHandler.Delete();
         Assert.IsTrue(res.Success, "Failed to delete temporary interview handler on cleanup.");
     }
 }