I have a problem with capturing the Class argument via ArgumentCaptor. My test class looks like this:
@RunWith(RobolectricGradleTestRunner::class) @Config(sd
You can write a wrapper over argument captor
class CaptorWrapper(private val captor:ArgumentCaptor, private val obj:T){ fun capture():T{ captor.capture() return obj } fun captor():ArgumentCaptor{ return captor } }