Using gradle and mockito.