Join Slack
Powered by
what's the best approach for using Mockito? just s...
# announcements
a
adams2
09/01/2017, 6:45 PM
what's the best approach for using Mockito? just slap 'open' on everything?
adams2
09/01/2017, 6:45 PM
oh there's mockito 2
👍 1
a
annyce
09/01/2017, 6:52 PM
and
https://github.com/nhaarman/mockito-kotlin
👍 1
t
trevjones
09/01/2017, 6:57 PM
abstract layers in appropriate locations goes a long way for your test efforts as well.
👍 1
a
adams2
09/01/2017, 8:51 PM
hmm still not sure how to use any() with non-null types
adams2
09/01/2017, 8:52 PM
oh there's this guy, which isn't working for me for some reason
https://github.com/nhaarman/mockito-kotlin/wiki/Null-safety
adams2
09/01/2017, 8:52 PM
...because my import was out of date
3
Views
Open in Slack
Previous
Next