Example #1
0
        public void Error_ReturnsAViewResult_ShouldShowError()
        {
            // Arrange
            var mockService = new Mock <IPatientViewModelService>();
            var controller  = new PatientController(mockService.Object);

            // Act
            var result = controller.Error();

            // Assert
            Assert.IsType <ViewResult>(result);
        }