public void MainFormInitializesCallToResizeStatusBarElementsTest() { var mock = new MockMainForm(); mock.Show(); Assert.IsTrue(mock.StatusResizeHasBeenCalled); }
public void MainFormInitializeScanWillCallResizeStatusBarTest() { var mock = new MockMainForm(); mock.Show(); mock.StatusResizeHasBeenCalled = false; mock.InitializeScan(); Assert.IsTrue(mock.StatusResizeHasBeenCalled); }
public void PrepareScanCallsSetModelLoggerTest() { var mock = new MockMainForm(); LoadStatsListView(mock); mock._model.SelectedFolder = "C:\\"; mock.PrepareScan(); Assert.IsTrue(mock.SetModelLoggerHasBeenCalled); }