Some mockk+android experts out there? I found a strange performance issue with a mock call in our codebase. Mocking AudioManager.requestAudioFocus() takes 800ms in integration tests/on real devices. What? Is mocking O(n) in the terms of class/function or something?
Code: https://codeberg.org/lengfeld/android-app-mockk-performance
Code: https://codeberg.org/lengfeld/android-app-mockk-performance

