示例#1
0
        public BSalaryTest()
        {
            _iDCalendar   = new DCalendar();
            _iDSalaryRate = new DSalaryRate();
            _iDTaxRate    = new DTaxRate();

            _moqDCalendar   = new Mock <IDCalendar>();
            _moqDSalaryRate = new Mock <IDSalaryRate>();
            _moqDTaxRate    = new Mock <IDTaxRate>();

            _iBSalary = new BSalary(_iDCalendar, _iDSalaryRate, _iDTaxRate);
        }
示例#2
0
 private void ReinitiateMoqValues()
 {
     _iBSalary = new BSalary(_moqDCalendar.Object, _moqDSalaryRate.Object, _moqDTaxRate.Object);
 }