I'd like to be able to intercept and arrange access to fields on any class.
public class Dependency
{
public int A;
}
..
var dep = new Dependency();
Mock.Arrange(() => dep.A).Returns(5);
Mock.ArrangeSet(() => dep.A = Arg.AnyInt).DoInstead(...);
1 comment
ADMIN
Veselka
Posted on:14 Aug 2025 13:03
Hello Everyone,
After conducting a cost-benefit analysis of this feature, we decided not to pursue further investments in it.