Any idea how we can assert a mock object was called when it is being accessed inside Parallel.ForEach via a closure? I assume that because each invocation is on a different thread that 开发者_运维知识
We are not able to mock this class in RhinoMocks. public class Service { public Service(Command[] comman开发者_如何学Cds){}
I\'m trying to use the fluent mocking style of Rhino.Mocks and have the following code that works on a mock IDictionary object called \'factories\':
I\'m trying to write a test using Rhino Mocks 3.6 with AAA.The problem I\'m running into is that the Stub i\'ve set up doesn\'t seem to be returning the correct object.
I\'ve found that Linq2Sql doesn\'t (Rhino) mock well, as the interfaces I need aren\'t there.Does EF generate code that\'s more mockable?
I have a class that has two methods. One method needs to call the other method and in my test I want to assert that it was called.
We\'re upgrading from Dev Studio 2005 to Dev Studio 2010. I opened my 2005 solution in Visual Studio 2010 and went through the conversion process keeping all projects targeted at .NET 2.0.When I try t
Is is posable to disable selected automated tests at runtime? I\'m using VSTS and rhino mocks and have some intergation tests that require an external dependancy to be installed (MQ). Not all the dev
How can I stub out methods that explicitly implement an interface using Rhino Mocks? As I understand it, Rhino Mocks requires stubbed out methods to be virtual, and explicitly implemented interface m
I\'d like to prevent the real setter code being invoked on a property on a partial class. What is the syntax for this?