Rob Smyth

Tuesday 17 June 2008

Mocking Generic Methods with NMock2

Mocking generic methods is a bit of a problem using my preferred mocking framework NMock2 but Nigel has found a way. Check out his blog or download his NUnitExtensions project. Great time savers.

The NUnitExtensions project I have in my NoeticTools google project is inspired by Nigel's. I intend to delete mine and use Nigel's one.

Another good one Nigel.

1 comment:

Nigel Thorne said...

Cheers for the link Rob.

Just to clarify they are NMock extensions not NUnit ones. I may roll in some NUnit ones later.