I\'m trying to write a unit test of a repository implementation. The repository uses RavenDB as a database. For the unit tests, I would like to mock the RavenDB parts. In order to create the mocks (fa
Can I use an Expression Tree as an argument constraint in a FakeIteasy CallTo assertion? Given a method on an interface with the following signature:
[Subject(typeof(OnceADayProcessor))] public class When_processing_process_twice { private static ICanBeProcessedOnceADay ProcessedOnceADay;
We\'re considering switching from Rhino to FakeItEasy for our mocking framework. The main reason is simplicity, in FakeItEasy there\'s only one way to do things. Rhino has record/playback, AAA, stub,
We are trying to unit test code that relies on the Entity Framework 4.1.I\'ve seen several posts that implement unit testing against POCOs, but we would like to retain the default EF plumbing, so that
I have the following test [Test] public void Attack_TargetWith3Damage_CausesAttackerToDeal3DamageToTarget()
Is there any way to create a fake from a System.Type object in FakeItEasy? Similar to: var instance = A.Fake(type);
I\'m trying to use FakeItEasy to mock an object that is a member of a C# class I\'m creating. The FakeItEasy documentation indicates that you fake an object in a way similar to this:
I am attempting to test that the event handlers between an interface and controller are wired properly.The system is set up like the example below:
I am using the Captcha class from commonlibrary (http://commonlibrarynet.codeplex.com/). My code works and everything but now I\'m trying to write the unit test.