Click here to Skip to main content
Click here to Skip to main content

Tagged as

Simple.Mocking - new mocking framework for .NET 3.5

, 29 Nov 2009 CPOL
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

No Biography provided

Comments and Discussions

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