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);
 }
示例#2
0
 public ConfigurableLayoutPresenter(IConfigurableLayoutView view, IConfigurableContainerLayoutViewFactory configurableContainerLayoutViewFactory)
     : base(view)
 {
     _configurableContainerLayoutViewFactory = configurableContainerLayoutViewFactory;
 }