Android-Testing-With-Kotlin
Android-Testing-With-Kotlin copied to clipboard
Android Testing With Kotlin
After run "gradlew test" via command line you get error for all tests like that: java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:60) at com.sun.proxy.$Proxy11.isTypeMockable(Unknown Source) at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:29) at...
Migration findings and solved issues: - Java `protected` (package-private + inheritance) != Koltin `protected` (private + inheritance) - there is no `package-private` scope to hide classes inside of package and...