Esempio n. 1
0
        public void MainFormInitializesCallToResizeStatusBarElementsTest()
        {
            var mock = new MockMainForm();

            mock.Show();
            Assert.IsTrue(mock.StatusResizeHasBeenCalled);
        }
Esempio n. 2
0
        public void MainFormInitializeScanWillCallResizeStatusBarTest()
        {
            var mock = new MockMainForm();

            mock.Show();
            mock.StatusResizeHasBeenCalled = false;
            mock.InitializeScan();
            Assert.IsTrue(mock.StatusResizeHasBeenCalled);
        }