Join Slack
Powered by
<@U2Y6AUJAJ> Companion object is a singleton, so y...
# announcements
w
wasyl
05/13/2017, 12:28 PM
@kiddouk
Companion object is a singleton, so you’ll have trouble mocking that. You could marks things inside as
@JvmStatic
and use PowerMock for example (I think), or new Mockito extensions (I
think
)
2
Views
Open in Slack
Previous
Next