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