コード例 #1
0
 public IndividualModelTask(IParameterContainerTask parameterContainerTask, ISpeciesContainerQuery speciesContainerQuery,
                            IBuildingBlockFinalizer buildingBlockFinalizer, IFormulaFactory formulaFactory)
 {
     _parameterContainerTask = parameterContainerTask;
     _speciesContainerQuery  = speciesContainerQuery;
     _buildingBlockFinalizer = buildingBlockFinalizer;
     _formulaFactory         = formulaFactory;
 }
コード例 #2
0
 public override void GlobalContext()
 {
     _speciesContainerQuery  = A.Fake <ISpeciesContainerQuery>();
     _parameterContainerTask = A.Fake <IParameterContainerTask>();
     _buildingBlockFinalizer = A.Fake <IBuildingBlockFinalizer>();
     _formulaFactory         = A.Fake <IFormulaFactory>();
     _compartment            = new Compartment().WithName("compartment");
     _organ      = new Organ().WithName("organ");
     _organ.Name = "organ";
     _organism   = new Organism().WithName("organism");
     sut         = new IndividualModelTask(_parameterContainerTask, _speciesContainerQuery, _buildingBlockFinalizer, _formulaFactory);
 }