Improve your test structure with Lambdas and Mockito’s Answer

Ronny Bräunlich's photo
Ronny Bräunlich
·May 15, 2018·

1 min read

Refactoring is an important task that should be done from time to time. No matter if you call it technical debt or give it any other way. We sometimes implement features quick and dirty or while implementing we learn better ways how we could achieve our goal.
While refactoring is often applied to business logic or the infrastructure related to it, it seems that doing it for tests is often neglected. Therefore, you want to show you in this blog post on the codecentric blog, how lambdas and Mockito's answer can help your tests.

 
Share this