Exemple #1
0
        public void Holiday_Value_Is_Mapped_To_Payroll()
        {
            // arrange
            JObject timesheet = CreatePayrollJson();
            PayrollMapper mapper = new PayrollMapper();

            // act
            Payroll payroll = mapper.MapJsonToPayroll(timesheet);

            // assert
            Assert.AreEqual(8, payroll.HolidayHours);
        }