Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
1
Description
Using extension methods for interface overloads makes mocking the interfaces for unit testing much easier. The consumer only needs to mock the most powerful overload, and the extension methods fill defaults and forward the request on to that overload. It also simplifies the surface area of the interface and reduces clutter on the implementation.