protected override void Context() { _context = A.Fake <IMoBiContext>(); _updateTask = A.Fake <ISimulationUpdateTask>(); _notificationPresenter = A.Fake <INotificationPresenter>(); sut = new UpdateSimulationFromBuildingBlockUICommand(_context, _updateTask, _notificationPresenter); }
public ConfigureSimulationUICommand( ISimulationUpdateTask simulationUpdateTask, INotificationPresenter notificationPresenter, IMoBiContext context, IActiveSubjectRetriever activeSubjectRetriever) : base(activeSubjectRetriever) { _simulationUpdateTask = simulationUpdateTask; _notificationPresenter = notificationPresenter; _context = context; }
protected override void Context() { _simulationUpdateTask = A.Fake <ISimulationUpdateTask>(); _activeSubjectRetriever = A.Fake <IActiveSubjectRetriever>(); _notificationPresenter = A.Fake <INotificationPresenter>(); _context = A.Fake <IMoBiContext>(); sut = new ConfigureSimulationUICommand(_simulationUpdateTask, _notificationPresenter, _context, _activeSubjectRetriever); _simulation = A.Fake <IMoBiSimulation>(); sut.Subject = _simulation; }
public UpdateSimulationFromBuildingBlockUICommand(IMoBiContext context, ISimulationUpdateTask simulationUpdateTask, INotificationPresenter notificationPresenter) { _context = context; _simulationUpdateTask = simulationUpdateTask; _notificationPresenter = notificationPresenter; }