Quantcast
Channel: A Java geek » Java
Viewing all articles
Browse latest Browse all 64

Improve your tests with Mockito’s capture

$
0
0

Unit Testing mandates to test the unit in isolation. In order to achieve that, the general consensus is to design our classes in a decoupled way using DI. In this paradigm, whether using a framework or not, whether using compile-time or runtime compilation, object instantiation is the responsibility of dedicated factories. In particular, this means [...]

The post Improve your tests with Mockito’s capture appeared first on A Java geek.


Viewing all articles
Browse latest Browse all 64

Trending Articles