Ejemplo n.º 1
0
        public void TestCreateScheduleChangeRequest()
        {
            //arrange
            bool            singleRequestAdded;
            IRequestManager requestManager = new RequestManager(_requestAccessor);

            //act
            singleRequestAdded = requestManager.AddScheduleChangeRequest(new ScheduleChangeRequest()
            {
                ScheduleChangeRequestID = 1000000,
                ShiftID = 1000001
            }, 1000001);

            //assert
            Assert.AreEqual(true, singleRequestAdded);
        }