Made the tests in MainPresenter be more specific & made the RandomBookGenerator methods not static to make it mockable.

This commit is contained in:
Iiro Krankka
2017-01-09 11:16:15 +02:00
parent feb54cefd5
commit b79e1230a9
12 changed files with 54 additions and 40 deletions

View File

@@ -27,6 +27,8 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile 'org.mockito:mockito-core:2.5.5'
androidTestCompile 'com.linkedin.dexmaker:dexmaker-mockito:2.2.0'
androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2.1') {
exclude module: 'support-annotations'
}