Пример #1
0
        public async Task DetailsTest_ReturnsNotFound_WhenIdIsNullOrEmpty()
        {
            // Arrange
            string Id = "";

            // Act
            var result = await controller.Details(Id);

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