public StopSimulationCommand(IInteractiveSimulationRunner simulationRunner) { _simulationRunner = simulationRunner; }
protected override void Context() { _simulationRunner = A.Fake <IInteractiveSimulationRunner>(); _activeSubjectRetriever = A.Fake <IActiveSubjectRetriever>(); sut = new RunSimulationCommand(_simulationRunner, _activeSubjectRetriever); }
public RunSimulationCommand(IInteractiveSimulationRunner simulationRunner, IActiveSubjectRetriever activeSubjectRetriever, bool selectOutput = false) : base(activeSubjectRetriever) { _simulationRunner = simulationRunner; _selectOutput = selectOutput; }
public RunSimulationWithSettingsCommand(IInteractiveSimulationRunner simulationRunner, IActiveSubjectRetriever activeSubjectRetriever) : base(simulationRunner, activeSubjectRetriever, true) { }
protected override void Context() { _simulationRunner = A.Fake <IInteractiveSimulationRunner>(); sut = new StopSimulationCommand(_simulationRunner); }