UnityAutoMoq
UnityAutoMoq copied to clipboard
Automocking container using Unity and Moq
These are the changes to update the project to Unity 4. The version of the product should probably be rev'd.
The Unity project has changed hands and now has a new public key. It is impossible to do a simple binding redirect once the public key has changed. If you...
This speeds up registering custom mock in base class of test (e.g. MyRepository) and then resolving mock in child to tune base behavior: ``` public static class UnityMoqContainerExtensions { public...
The case for abstract classes that don't have a parameterless constructor needs needs to be specifically handled, otherwise Castle throws an exception when we try to create the mock object....
a. GetStub - This is to improve the readability of Unit Tests as developers often use mocks for stub etc. The new method would provide the same mocked instance but...