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; }
public ContextMenuForNotification(NotificationMessageDTO notificationMessage, INotificationPresenter presenter) { _notificationMessage = notificationMessage; _presenter = presenter; }
public NewSimulationCommand(IInteractionTasksForSimulation editTasksForSimulation, INotificationPresenter notificationPresenter, IMoBiContext context) { _editTasksForSimulation = editTasksForSimulation; _notificationPresenter = notificationPresenter; _context = context; }
public void AttachPresenter(INotificationPresenter presenter) { _presenter = presenter; }
public ShowNotificationCommand(INotificationPresenter presenter) { _presenter = presenter; }