I try to use Mockito from within Android Studio 1.2.2 but I get the following error:
Error:(50, 17) Failed to resolve: org.mockito:mockito-core:1.10.1
androidTestCompile has now been replaced with androidTestImplementation
dependencies { androidTestImplementation 'junit:junit:4.12' androidTestImplementation 'org.mockito:mockito-core:1.10.19' }