Is it possible to mock accessors by Mockito in Kotlin? : <p>Is it possible to mock getter and setter of the property by Mockito? Something like this:</p>

<pre><code>@Test
fun three() {
    val m = mock&lt;Ddd&gt;() {
//        on { getQq() }.doReturn("mocked!")
    }
    assertEquals("mocked!", m.qq)
}
open class Ddd {
     var qq : String = "start"
        set(value) {
            field = value + " by setter"
        }
        get() {
            return field + " by getter"
        }
}
</code></pre>
