It would be good to adopt the TypeMock style which
intercepts attempts to create instances and replaces
them with mocked instances.
Why would it be good? I wouldn't have to use a
dependancy injection framework / technique, or worse,
change my model just to support the unit tests.
Also, I wouldn't need to pay for TypeMock :)
Log in to post a comment.