CSharpFeeds - All your C# feeds in one place.

Saturday, December 19, 2009

Configuring any call to an object

by Patrik Hägne via Legend and truth on 12/19/2009 12:40:00 PM

I’ve just updated the way to configure any call to faked objects in FakeItEasy, the syntax is new and also you can now configure return values. Let’s say you have an interface providing localized text resources like this:public interface ILocalizedResources { string SomeText { get; } string SomeOtherText { get; } } When you fake this interface any of the properties would return null when not configured but you might have several tests that are dependant on that the values are non null s ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us