Example #1
0
        public void DeleteDocumentByArchiveBooking()
        {
            //Arrange
            var documentScanEngine = new DocumentScanEngine();

            //Act
            documentScanEngine.DeleteDocumentByArchiveBooking(69);
            List <DocumentScan> documents = documentScanEngine.GetDocumentsByArchiveBooking(69);

            //Assert
            Assert.Empty(documents);
        }
Example #2
0
        public void DeleteDocumentByArchiveBooking()
        {
            //Arrange
            var documentScanEngine = new DocumentScanEngine();

            //Act
            documentScanEngine.DeleteDocumentByArchiveBooking(69);
            DocumentScan document = documentScanEngine.GetDocumentByID(11);

            //Assert
            Assert.Null(document.DocumentPath);
        }