Joao Birk
09/29/2020, 6:04 PMktlint
it tells me that the following import
is not being used therefore I should remove it:
import org.mockito.Mockito.`when` as _when --- THIS LINE IS THE PROBLEM
@Before
@CallSuper
override fun setup() {
super.setup()
_when(...).thenReturn(...)
}
is this a known issue?ephemient
09/29/2020, 6:07 PMJoao Birk
09/29/2020, 6:08 PMSha Sha Chu
09/29/2020, 6:18 PMktlint-disable
directive to temporarily workaround it