public void Setup() { mModelBuilder = Substitute.For <IModelBuilder>(); mSimplifier = Substitute.For <IAggregateSimplifier>(); mExpressionFormatter = Substitute.For <IExpressionFormatter>(); mUnderTest = new SymbolicSimplificationFacade(mExpressionFormatter, mSimplifier, mModelBuilder); }
public SymbolicSimplificationFacade(IExpressionFormatter expressionFormatter, IAggregateSimplifier simplifier, IModelBuilder modelBuilder) { mExpressionFormatter = expressionFormatter; mSimplifier = simplifier; mModelBuilder = modelBuilder; }