Example #1
0
        public void InsertFakeEmployee_EmptyList_FakeEmployee()
        {
            //Arrange
            List <CalendarRowViewModel> testList = new List <CalendarRowViewModel>();
            //Act
            var result = controller.InsertFakeEmployee(testList, new DateTime(), new DateTime());

            //Assert
            Assert.AreEqual(result.Count, 1);
            Assert.IsInstanceOf(typeof(List <CalendarRowViewModel>), result);
        }