public SimulationRunner(IMoBiContext context, IMoBiApplicationController applicationController, IOutputSelectionsRetriever outputSelectionsRetriever, ISimulationPersistableUpdater simulationPersistableUpdater, IDisplayUnitUpdater displayUnitUpdater, ISimModelManagerFactory simModelManagerFactory, IKeyPathMapper keyPathMapper) { _context = context; _applicationController = applicationController; _outputSelectionsRetriever = outputSelectionsRetriever; _simulationPersistableUpdater = simulationPersistableUpdater; _displayUnitUpdater = displayUnitUpdater; _simModelManagerFactory = simModelManagerFactory; _keyPathMapper = keyPathMapper; }
protected override void Context() { _context = A.Fake <IMoBiContext>(); _outputSelectionsRetriever = A.Fake <IOutputSelectionsRetriever>(); _simulationPersistableUpdater = A.Fake <ISimulationPersistableUpdater>(); _displayUnitUpdater = A.Fake <IDisplayUnitUpdater>(); _applicationController = A.Fake <IMoBiApplicationController>(); _simModelManagerFactory = A.Fake <ISimModelManagerFactory>(); _keyPathMapper = A.Fake <IKeyPathMapper>(); sut = new SimulationRunner(_context, _applicationController, _outputSelectionsRetriever, _simulationPersistableUpdater, _displayUnitUpdater, _simModelManagerFactory, _keyPathMapper); }