Exemplo n.º 1
0
        public void IsReadyTest3()
        {
            //Arrange
            ExcelSchedule fakeExcel = Mock.returnFakeSchedule();

            //Act
            var  actual   = fakeExcel.IsReady("Yes", 7, 2);
            bool expected = true;

            //Assert
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void IsReadyTest2()
        {
            //Arrange
            ExcelSchedule fakeExcel = Mock.returnFakeSchedule();

            //Act
            var  actual   = fakeExcel.IsReady("Approved to Print", 7, 1);
            bool expected = false;

            //Assert
            Assert.AreEqual(expected, actual);
        }