Finnaly, we could create a new View for my Index ViewResult(). To replace the view, we need to delete the old one and create a new View template with models.
Test only code that you wrote.
- Do not test MVC code.
- Do not test other modules. (Integration Testing).
Test the business logic.
- Remember, we are not testing the mocked object.