![]() |
Sign Up! | Tags | Domains | Statistics | Options | Advanced Search |
I've just released a new version of Moq which contains a few bug fixes but two extremely useful features: recursive mocks and mocked default values. Recursive mocks Quite often you have a root mock object from which other mocks should "hang" through property accesses, such as HttpContextBase.Response: you want the response object returned to also be a mock. Setting such hierarchies before this … Continue Reading »