How to mock a Kotlin singleton object? : <p>Given a Kotlin singleton object and a fun that call it's method</p>

<pre><code>object SomeObject {
   fun someFun() {}
}

fun callerFun() {
   SomeObject.someFun()
}
</code></pre>

<p>Is there a way to mock call to <code>SomeObject.someFun()</code>?</p>
