public void ArchiveDuplicateCase()
 {
     const int   sourceCaseId          = 21000;
     ArchiveCase archiveCaseController = new ArchiveCase();
     var         result = JObject.Parse(archiveCaseController.CaseToArchive(sourceCaseId, _objArchiveModel));
     //   Assert.AreEqual("Case already archived at:", result["response"]);
 }
        public void ArchiveCase_WithoutDocuments()
        {
            const int   sourceCaseId          = 23000;
            ArchiveCase archiveCaseController = new ArchiveCase();
            var         result = JObject.Parse(archiveCaseController.CaseToArchive(sourceCaseId, _objArchiveModel));

            Assert.AreEqual("Case Documents moved and archived successfully", result["response"]);
        }
        public void ArchiveCase_NotExist()
        {
            const int   sourceCaseId          = 20000;
            ArchiveCase archiveCaseController = new ArchiveCase();
            var         result = JObject.Parse(archiveCaseController.CaseToArchive(sourceCaseId, _objArchiveModel));

            Assert.AreEqual("Source Case Folder Does not exists", result["response"]);
        }