protected override void Context() { _configurableLayoutView = A.Fake <IConfigurableLayoutView>(); _configurableContainerLayoutViewFactory = A.Fake <IConfigurableContainerLayoutViewFactory>(); _configurableContainerLayoutView = A.Fake <IConfigurableContainerLayoutView>(); A.CallTo(() => _configurableContainerLayoutViewFactory.Create()).Returns(_configurableContainerLayoutView); sut = new ConfigurableLayoutPresenter(_configurableLayoutView, _configurableContainerLayoutViewFactory); }
public ConfigurableLayoutPresenter(IConfigurableLayoutView view, IConfigurableContainerLayoutViewFactory configurableContainerLayoutViewFactory) : base(view) { _configurableContainerLayoutViewFactory = configurableContainerLayoutViewFactory; }