Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 private void ReinitiateMoqValues()
 {
     _iBSalary = new BSalary(_moqDCalendar.Object, _moqDSalaryRate.Object, _moqDTaxRate.Object);
 }