Mockito
-
Core Java
Writing Clean Tests – Beware of Magic
It is pretty hard to figure out a good definition for clean code because everyone of us has our own…
Read More » -
Core Java
What are Mockito Extra Interfaces?
Mockito is my favored little helper if it comes down to write light weight JUnit tests. It is very useful…
Read More » -
Core Java
Getting started with Mocking in Java using Mockito
We all write unit tests but the challenge we face at times is that the unit under test might be…
Read More » -
Core Java
Mockito Templates for Eclipse
Sometimes I miss the forest for the trees – and that for a disturbingly long time. I just became aware…
Read More » -
Core Java
Mock final class
Foreword If you already read some other blog post about unusual mocking, you can skip prelude via this link. I…
Read More » -
Enterprise Java
Use Mockito to mock autowired fields
Dependency injection is very powerful feature of Inversion of Control containers like Spring and EJB. It is always good idea…
Read More » -
Enterprise Java
Testing Spring components with Mockito
Be able to unit test your spring components without the need of loading the full spring-context with its ad-hoc test…
Read More » -
Core Java
Injecting Test Doubles in Spring using Mockito and BeanPostProcessors
I’m pretty sure that if you have ever used Spring and are familliar with unit testing, you have encountered a…
Read More » -
Core Java
Imbibing the Fluency of Mockito
I recently found myself writing some code to integrate two disparate platforms. One of these systems is Java based and…
Read More »