rhino-mocks
Silverlight4 with RhinoMock
Does RhinoMocks work with SilverLight 4? If not, are there any alternatives? I know that RhinoMock 3.5 has been ported to SilverLight, but I cannot find the dll file开发者_运维问答, because I every[详细]
2023-04-02 05:27 分类:问答mock datareader failing on second call
In the test below, the mocked datareader returns the desired value the first time, but then returns the same value when the index should be 1.[详细]
2023-04-02 01:06 分类:问答RhinoMock says: "Type doesn't match the return type"
I\'ve written such 开发者_JAVA百科class: public class A { public virtual int LowLimit { get; set; }[详细]
2023-04-01 07:54 分类:问答Mocking an ITable using RhinoMocks for nunit testing
I have an interface against which I run a linq to sql query: public interface IMyDataContext : IDisposable[详细]
2023-03-31 14:38 分类:问答Using Rhino mocks with Unity application block
I am trying to mock UnityContainer for writing test harness in an asp.net mvc 2 application. are开发者_运维百科 there any examples available ?[详细]
2023-03-31 09:47 分类:问答How to mock a Model in MVC3 when using Rhino Mocks
I am new to Rhino Mocks. I have several models. One of them is as below. I want to use Rhino Mocks. I downloaded the latest Rhino.Mocks.dll and added it to my testharness project. How do I mock my mod[详细]
2023-03-31 08:44 分类:问答How do I isolate a singleton in my unit tests?
I have a static class in my program.In the static constructor I create instance of se开发者_StackOverflow中文版rvice. The proxy of service is a singleton.[详细]
2023-03-31 03:12 分类:问答Improving Mocking Delegates
I am using Rhino Mocks. I have a data repository, a small part of it is defined like this, interface IDataRepository[详细]
2023-03-31 00:58 分类:问答Difference in Behavior between Rhino and FakeItEasy
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,[详细]
2023-03-30 16:39 分类:问答Rhino Mocks: Stubbing an IEnumerator<T>
I\'m developing a little .net 2.0 project. I get to the point where I need to test some class\'s method which takes an IEnumerator. As a few days ago I learnt to use Rhino Mocks I wrote the following[详细]
2023-03-27 05:25 分类:问答