public void Setup() { this.trapper = A.Fake<IArgumentConstraintTrapper>(); Fake.GetFakeManager(this.trapper).AddInterceptionListener(new InvokeTrapConstraintsAction()); this.factory = new ExpressionArgumentConstraintFactory(this.trapper); }
public void SetUp() { this.trapper = A.Fake <IArgumentConstraintTrapper>(); Fake.GetFakeManager(trapper).AddInterceptionListener(new InvokeTrapConstraintsAction()); this.factory = new ExpressionArgumentConstraintFactory(this.trapper); }
public ExpressionArgumentConstraintFactory(IArgumentConstraintTrapper argumentConstraintTrapper) { this.argumentConstraintTrapper = argumentConstraintTrapper; }