protected override void Context() { _applicationController = A.Fake <IApplicationController>(); _openSingleStartPresenterInvoker = A.Fake <IOpenSingleStartPresenterInvoker>(); _withIdRepository = A.Fake <IWithIdRepository>(); _lazyLoadTask = A.Fake <ILazyLoadTask>(); _eventPublisher = A.Fake <IEventPublisher>(); _workspace = A.Fake <IWithWorkspaceLayout>(); sut = new WorkspaceLayoutUpdater(_applicationController, _withIdRepository, _openSingleStartPresenterInvoker, _lazyLoadTask, _eventPublisher, _workspace); }
public WorkspaceLayoutUpdater(IApplicationController applicationController, IWithIdRepository withIdRepository, IOpenSingleStartPresenterInvoker openSingleStartPresenterInvoker, ILazyLoadTask lazyLoadTask, IEventPublisher eventPublisher, IWithWorkspaceLayout withWorkspaceLayout) { _applicationController = applicationController; _withIdRepository = withIdRepository; _openSingleStartPresenterInvoker = openSingleStartPresenterInvoker; _lazyLoadTask = lazyLoadTask; _eventPublisher = eventPublisher; _withWorkspaceLayout = withWorkspaceLayout; }
protected override void Context() { _workspace = A.Fake <IWithWorkspaceLayout>(); sut = new PresentationSettingsTask(_workspace); _subject = A.Fake <IWithId>(); }
public PresentationSettingsTask(IWithWorkspaceLayout withWorkspaceLayout) { _withWorkspaceLayout = withWorkspaceLayout; }