예제 #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);
 }