Beispiel #1
0
        public void GetDocumentPDFTest(string relativeFilePath)
        {
            mockJKMDBContext.Setup(x => x.GetData <JKMServices.DTO.Document>(It.IsAny <string>(), It.IsAny <object[]>())).Returns(documentData.GetDocument());

            //Act
            documentDetails.GetDocumentPDF(relativeFilePath);

            //Assert
            mockCRMDocumentDetails.VerifyAll();
        }