Please add support for mocking classes with
parameterless constructors and virtual methods, as
NMock 1 supported. Without this I can't convert my old
library of mocks to NMock2.
I have to second this. I'm trying to test a HttpModule and
need to be able to mock the HttpApplication and other big
ASP.NET framework objects, can't see any other way to do it...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=484627
I support this feature request.
[I gave an example for ist uses in the thread "Migration
from NMock 1.1. to NMock 2.0: ..." for statics/singletons]
Harald M.
Logged In: YES
user_id=1208597
I have to second this. I'm trying to test a HttpModule and
need to be able to mock the HttpApplication and other big
ASP.NET framework objects, can't see any other way to do it...
Logged In: YES
user_id=572007
Originator: NO
Actually, I am try to achieve the very same thing that Matt Wynne, i.e. testing a HttpModule. Supporting the classes would be really a must-have.