Hey people ... trying to figure out asp.net MVC.
I found this example on the net using Moq, basically I understand what it says: when ApplyAppPathModifier is called, return the value that was passed to it.
I canβt figure out how to do this in Rhino Mocks, any thoughts?
var response = new Mock<HttpResponseBase>(); response.Expect(res => res.ApplyAppPathModifier(It.IsAny<string>())) .Returns((string virtualPath) => virtualPath);
c # asp.net-mvc moq mocking rhino-mocks
Keith
source share