protected override void Context() { _context = A.Fake <IInteractionTaskContext>(); _editTask = A.Fake <IEditTasksForBuildingBlock <IMoleculeStartValuesBuildingBlock> >(); _moleculeStartValuesCreator = A.Fake <IMoleculeStartValuesCreator>(); _cloneManagerForBuildingBlock = A.Fake <ICloneManagerForBuildingBlock>(); _moleculeStartValueBuildingBlock = new MoleculeStartValuesBuildingBlock(); _reactionDimensionRetriever = A.Fake <IReactionDimensionRetriever>(); _moleculeResolver = A.Fake <IMoleculeResolver>(); sut = new MoleculeStartValuesTask(_context, _editTask, _moleculeStartValuesCreator, new ImportedQuantityToMoleculeStartValueMapper(_moleculeStartValuesCreator), A.Fake <IMoleculeStartValueBuildingBlockMergeManager>(), _cloneManagerForBuildingBlock, _reactionDimensionRetriever, A.Fake <IMoBiFormulaTask>(), A.Fake <IMoBiSpatialStructureFactory>(), new MoleculeStartValuePathTask(A.Fake <IFormulaTask>(), _context.Context), _moleculeResolver); }
public MoleculeStartValuesTask( IInteractionTaskContext interactionTaskContext, IEditTasksForBuildingBlock <IMoleculeStartValuesBuildingBlock> editTask, IMoleculeStartValuesCreator startValuesCreator, IImportedQuantityToMoleculeStartValueMapper dtoMapper, IMoleculeStartValueBuildingBlockMergeManager startValueBuildingBlockMergeManager, ICloneManagerForBuildingBlock cloneManagerForBuildingBlock, IReactionDimensionRetriever dimensionRetriever, IMoBiFormulaTask moBiFormulaTask, IMoBiSpatialStructureFactory spatialStructureFactory, IMoleculeStartValuePathTask moleculeStartValuePathTask, IMoleculeResolver moleculeResolver) : base(interactionTaskContext, editTask, startValueBuildingBlockMergeManager, cloneManagerForBuildingBlock, moBiFormulaTask, spatialStructureFactory, dtoMapper, moleculeStartValuePathTask) { _startValuesCreator = startValuesCreator; _dimensionRetriever = dimensionRetriever; _moleculeResolver = moleculeResolver; }