public void GetAllTemplateEntitiesTest()
        {
            NotificationReportController notificationReportController = new NotificationReportController(this.notificationReportManager.Object, this.logger);
            IList <MailTemplateInfo>     mailTemplatesInfo            = new List <MailTemplateInfo>();

            _ = this.notificationReportManager
                .Setup(notificationReportManager => notificationReportManager.GetAllTemplateEntities(It.IsAny <string>()))
                .Returns(Task.FromResult(mailTemplatesInfo));
            var result = notificationReportController.GetAllTemplateEntities(this.applicationName);

            Assert.AreEqual(result.Status.ToString(), "RanToCompletion");
            this.notificationReportManager.Verify(mgr => mgr.GetAllTemplateEntities(this.applicationName), Times.Once);
            Assert.Pass();
        }