A .NET dynamic fake library for creating all types of fake objects, mocks, stubs etc.
// Creating a fake object is very easy! // No mocks, or stubs; everything's a fake. var shop = A.Fake<ICandyShop>(); // Easily set up a call to return a value. var lollipop = new Lollipop(); A.CallTo(() => shop.GetTopSellingCandy()).Returns(lollipop); // Exercise your system under test by using the fake as you // would an instance of the faked type. var customer = new SweetTooth(); customer.BuyTastiestCandy(shop); // Asserting uses the same syntax as configuring calls. A.CallTo(() => shop.BuyCandy(lollipop)).MustHaveHappened();
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4