mkrussel
06/29/2021, 1:16 AMio.mockk.MockKException: can't find property workerHandler for dynamic property getMattia Tommasone
06/29/2021, 8:23 AMMattia Tommasone
06/29/2021, 8:24 AMmockkObject(GeoJsonSource.Companion, recordPrivateCalls = true)mkrussel
06/29/2021, 11:17 AMMissing mocked calls inside every { ... } block: make sure the object inside the block is a mock which is what I got before adding the true argument.mkrussel
06/29/2021, 1:07 PMmainHandler that fails, The workerHandler passes. Looking at the decompiled code, the mainHandler is turned into a static field of the GeoJsonSource class and there is no getter in the Companion object.