コード例 #1
0
 public void Setup()
 {
     mModelBuilder        = Substitute.For <IModelBuilder>();
     mSimplifier          = Substitute.For <IAggregateSimplifier>();
     mExpressionFormatter = Substitute.For <IExpressionFormatter>();
     mUnderTest           = new SymbolicSimplificationFacade(mExpressionFormatter, mSimplifier, mModelBuilder);
 }
コード例 #2
0
 public SymbolicSimplificationFacade(IExpressionFormatter expressionFormatter, IAggregateSimplifier simplifier, IModelBuilder modelBuilder)
 {
     mExpressionFormatter = expressionFormatter;
     mSimplifier          = simplifier;
     mModelBuilder        = modelBuilder;
 }