public void ReturnView_WhenCalled() { // Arrange var controller = new ErrorController(); // Act var result = controller.Default() as ViewResult; // Assert Assert.IsNotNull(result); }