As promised in the first part of the âEffective Mockitoâ blog series, I will concentrate on Mockito specifics in the followup posts. So, the main topic for Part 2 is Mockitoâs @Mock Annotation. When I write tests I try to follow an explicit pattern, called the build-operate-check pattern. This was described by Uncle Bob in his book âClean Codeâ (Page 127, Chapter 9). The main idea behind this patt

{{#tags}}- {{label}}
{{/tags}}