2 ms·
Usually people (ab)use default visibility modifier for unit testing. It's not public, so it's not visible from other packages, but unit tests usually reside in
by vbezhenar 6y ago
Usually people (ab)use default visibility modifier for unit testing. It's not public, so it's not visible from other packages, but unit tests usually reside in the same package, so you have full access to it.
But I agree that Java could use better unit test and mocking support.
- an_opabinia 6y agoSplit modules are horrible.