TypeMOQ API

By Roy Osherove In Agile, Typemock, Unit Testing

Markdown version

Historical article · Originally published October 23, 2009; technical details may be outdated.

I was fiddling around with the typemock API, see what it would belike to use it in a more MOQ like manner:

image

to support this, all the code you need, including the Faker class exists here. you’d need to reference the typemock dll and the typemock c# API dll to make it work.

I’m not sure I’m crazy about it, but it is shorter. I’m not sure it’s as readable, though.

More in Agile

All posts in Agile