I have a running code with unity.
Now I want to use Moq to do my unit testing for ASP-MVC. In the global.asax\'s code, I have the following:
IUnityCon
You are trying to register the mock-object, not the mocked-object.
var mock = new Mock(); container.RegisterInstance(mock.Object);