public CreateComponentView(CreateComponentPresenter viewPresenter) { InitializeComponent(); this.@__numCompTB.Maximum = (decimal)Core.Components.CreateComponentPresenter.MAX_COMPONENTS; this.ViewPresenter = viewPresenter; this.ViewPresenter.View = this; }
public void GetMasterPath(string filePath, string expected) { CreateComponentPresenter.GetMasterPath(filePath).Should().Be(expected); }
public void GetCompFileName(string masterFileName, int compNum, string expected) { CreateComponentPresenter.GetCompFileName(masterFileName, compNum).Should().Be(expected); }