Hello, I am in a bit of a tight spot trying to write a unit test. Is it possible to mock (with Mockito) a Kotlin extension function? I have extension functions for Uri, Uri itself is mocked, but mocking any of its functions seems to be calling an actual implementation....
k
kojdecki
03/27/2017, 10:08 AM
Top level extension functions are stored in a static class named after the file, eg.