I try to set up junit, mokito and powermock together but when I ran a test I get ClassNotFoundException :(
testCompile \'junit:junit:4.12\'
testCompile \'org
That's what worked for me:
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.8.0'
testCompile 'org.powermock:powermock-api-mockito2:1.7.0RC2'
testCompile 'org.powermock:powermock-module-junit4:1.7.0'
testCompile 'org.powermock:powermock-core:1.7.0'
testCompile 'org.powermock:powermock-module-junit4-rule:1.7.0'
using Mockito2 fixed the problem for me.