In a new project we use MvcMailer, it\'s great and I would like to know how I can test it using Rhino and NUnit? There\'s an other post on SO and a good Wiki page but it\'s not what I\'m looking for.
I\'ve started experimenting with Rhino-Mocks (3.6) while reading Roy Osherove\'s The Art of Unit Testing.He has an example that demonstrates that a mocked method can be scripted to return different re
I think I don\'t understand something in Mock, if I use a DynamicMock, it should only verify the call that I expect right? Why do I get an exception in my test below? I don\'t want to verify that the
I\'开发者_如何学Pythonve see n a lot of discussions surrounding HttpSessionState and asp.net MVC.
I am using Rhino Mocks 3.6. I have seen many types of coding. Sometimes using static GenerateMock method, sometimes using new MockRepository(). I don\'t understand pretty well what is happening or wha
I\'m studying how Rhino.Mocks works and trying to understand how can I set manually a value in a class Property.
I want to test that the following code sets the Raised property when the MyEvent event is raised: public interface IEventRaiser
I use RhinoMocks without problems for checking using AssertWasCalled if my method was called with simple parameters such as Arg.Is.Equal(1) etc.
I am trying to assert that a property in a mock object was set with a given type. The property has an abstract type and is set with one of a number of concrete types.
This is my first attempt at something like this, so hopefully this is simple. I have created a WCF service which uses Entity Framework to access the database. I have implemented a UnitOfWork interfac