I have an Interface
public interface IRequester { void Check(Check check); }
I want to mock this with Moq , which is obviously easy. The problem is that I want the passed Check be changed (as a link) after the mocking call. As you can see, Check is just POCO.
public class Check { public string Url { get; set; } public int Status { get; set; } }
Ideally, I want to change the value of the Status property on the passed Check .
Is it possible?
baynezy
source share