I\'m trying to find a way to fake the result of a method called from within another method.
I have a \"LoadData\" method which calls a separate helper to get some data a
I would try something like this:
public class MyClass(){ public void LoadData(IHelper helper){ SomeProperty = helper.GetSomeData(); }
This way you can mock up the helper class using for example MOQ.