Remove PowerMock and add Mockito to build.gradle
removed unwanted gradle dependency
@@ -32,12 +32,10 @@ dependencies {
api('com.instabug.library:instabug:10.9.1') {
exclude group: 'com.android.support:appcompat-v7'
}
- testImplementation 'org.mockito:mockito-core:1.10.19'
- testImplementation 'junit:junit:4.12'
- testImplementation 'org.powermock:powermock-api-mockito:1.6.6'
- testImplementation 'org.powermock:powermock-module-junit4-rule-agent:1.6.2'
- testImplementation 'org.powermock:powermock-module-junit4-rule:1.6.6'
- testImplementation 'org.powermock:powermock-module-junit4:1.6.6'
+ testImplementation "org.mockito:mockito-inline:3.4.0"
+ testImplementation "org.mockito:mockito-android:3.4.0"
+ testImplementation 'junit:junit:4.13.2'
+
}
