Example #1
0
        public async Task GetNotificationById()
        {
            //Arrange
            var controller = new NotificationController(_dao, _authService, new Microsoft.Extensions.Logging.LoggerFactory(), _sms, _email);

            //Act
            var result = await controller.GetNotificationById(1);

            //Assert
            var viewResult = Assert.IsType <OkObjectResult>(result);
        }