Using Moq to Return a Mock Object from a Factory


/ Published in: C#
Save to your folder(s)

Note that the interface member is mockVar.Object mockVar won't cast to your interface.

URL: http://code.google.com/p/moq/wiki/QuickStart

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.