I started using MVC3 and Rhino mocks. Can someone provide me an example to write tests for
-
Checking for invalid data.
-
Handle scenarios you receive Null objects.
-
How to handle unique constraint errors.
using Rhino Mocks(any other tests if necessary).
I would suggest to use the mvcContrib TestHelper.
You can find examples and Documentation here
You can download it from nuget or from CodePlex