Rhino.
I have a class with Microsoft.AspNet.Identity.UserManager injected, and I want to expect the userManager.CreateAsync(user, password) …
c# asp.net-identity rhino-mocksWhen I open the properties window of one of the referenced dlls in my project in Visual Studio I see …
.net runtime version rhino-mocks .net-assemblyI am using RhinoMocks. Now I want to assert that some function was called, but I only care about one …
c# unit-testing rhino-mocksI have a function I am mocking which takes an argument object as a parameter. I want to return a …
c# .net unit-testing rhino-mocksI'm trying to write something like this: myStub.Stub(_ => _.Create(Arg<Invoice>.It.Anything)).Callback(i => { …
c# .net rhino-mocksHow do I creat a pure stub using Moq? With Rhino Mocks I did it like this: [TestFixture] public class …
c# asp.net-mvc-3 nunit moq rhino-mocksI have a TimeMachine class which provides me current date/time values. The class looks like this: public class TimeMachine { …
c# mocking rhino-mocks stubI would like to set up a return value _stubRepository.Stub(Contains(null)).IgnoreArguments().Return(true); but then in a …
.net rhino-mocksI have been trying to mock out a using with a file stream but have not been able to complete …
c# rhino-mocksCan any of the Rhino experts explain me by giving a suitable example of the difference between the above methods …
unit-testing rhino-mocks