Click here to Skip to main content
13,559,787 members
Click here to Skip to main content
Add your own
alternative version

Tagged as


4 bookmarked
Posted 29 Nov 2009
Licenced CPOL

Simple.Mocking - new mocking framework for .NET 3.5

, 29 Nov 2009
Rate this:
Please Sign up or sign in to vote.

Tired of unnecessary complex mocking framework with cumbersome record/replay syntax which makes your test code hard to read? Try Simple.Mocking.

* Can mock/fake any interface or delegate
* Refactor friendly syntax, no "magic string" (except for event add/remove)
* No record/replay
* Easy to learn, small API

var myObject = Mock.Interface<IMyObject>();

Expect.Once.MethodCall(() => myObject.MyMethod(Any<int>.Value)).Returns(0);			




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web04 | 2.8.180527.1 | Last Updated 29 Nov 2009
Article Copyright 2009 by Mikael Waltersson
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid