public void SetUp() { IProjectDocument doc = new ProjectDocument(); doc.LoadXml(NUnitProjectXml.NormalProject); model = new ProjectModel(doc); dlg = Substitute.For<IAddConfigurationDialog>(); presenter = new AddConfigurationPresenter(model, dlg); }
public void SetUp() { IProjectDocument doc = new ProjectDocument(); doc.LoadXml(NUnitProjectXml.NormalProject); model = new ProjectModel(doc); dlg = Substitute.For <IAddConfigurationDialog>(); presenter = new AddConfigurationPresenter(model, dlg); }