How to unit test a method that has void as return type
How do I test a method that returns void? For example a method like this. public void Process(int leadId) { decimal price = _calculator.CalculateNormalLead(leadId); Lead lead = new Lead(leadId, price); _leadRepository.Save(lead); } How to...
Recent Comments