Ok, I am trying to teach myself testing using a mock framework and I work in VB.NET, I am new to lambda expressions and all my previous applications were written in version 2005 or earlier. I now have
I\'m new to FakeItEasy and mocking in general.I created a Visual Studio 2010 C# class library project.I added references to the NUnit DLL and the FakeItEasy DLL.I added \"using\" statements for both,
I am getting the proverbial knickers in a twist. For this very simple code: public ActionResult Add() {
I have a method that has an out parameter th开发者_StackOverflow社区at returns a number of records. I would like to know how to mock it with FakeItEasy.You should use the .AssignsOutAndRefParameters c
Moq allows mocking protected virtual members (see here). Is it possible to开发者_JAVA百科 do the same in FakeItEasy?It can be done, however it can not be done out of the box. The trick is to implement
How can I create a fake with FakeItEasy that allows different return values on successive calls. This is one example of what I would like to be able to do:
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
I am getting this error : \"Unhandled exception at 0x00411690 in tim.exe: 0xC0000005: Access violation reading location 0x00000008\" when I execute a program this is compiled and linked successfully a