3 ms·
This is based on assumption that class is a unit of testing. For me, unit testing is about testing units with meaningful functionality which is often a set of c
by pulse7 5y ago
This is based on assumption that class is a unit of testing. For me, unit testing is about testing units with meaningful functionality which is often a set of classes - a module or a component. So dependency injection should be a property of such unit which is many cases is not a class...
- gowld 5y agoIn Java everything is a class or attached to one.