|
|
|
|
|
by magicalhippo
1708 days ago
|
|
> [...] which means that every class that you want to be mocked out needs to have an interface extracted. It is extra work. If you define the interface first, then you can simply copy-paste that into the class definition and off you go implementing it. Hardly any more work at all. |
|