public void CopyFiles_OverriteDocuments()
        {
            const int   sourceCaseId          = 10000;
            const int   destCaseId            = 11000;
            string      copyFlag              = "NotRecordCenter";
            ArchiveCase archiveCaseController = new ArchiveCase();
            var         result = JObject.Parse(archiveCaseController.CopyCaseDocuments(sourceCaseId, destCaseId, _objArchiveModel, copyFlag));

            Assert.AreEqual("Case Documents copied successfully", result["response"]);
        }
        public void CopyFiles_NoDestinationFolder()
        {
            const int   sourceCaseId          = 10000;
            const int   destCaseId            = 12000;
            string      copyFlag              = "NotRecordCenter";
            ArchiveCase archiveCaseController = new ArchiveCase();
            var         result = JObject.Parse(archiveCaseController.CopyCaseDocuments(sourceCaseId, destCaseId, _objArchiveModel, copyFlag));

            Assert.AreEqual("Folder Does not exists under Destination Case", result["response"]);
        }
        public void CopyFiles_NoDocumentsAtSource_FromRecordCenter()
        {
            const int   sourceCaseId          = 13000;
            const int   destCaseId            = 11000;
            string      copyFlag              = "RecordCenter";
            ArchiveCase archiveCaseController = new ArchiveCase();
            var         result = JObject.Parse(archiveCaseController.CopyCaseDocuments(sourceCaseId, destCaseId, _objArchiveModel, copyFlag));

            Assert.AreEqual("No Documents", result["response"]);
        }