How to verify call on setter in kotlin using mockito? : <pre><code>interface LoginDisplay {
    var username: String
    var password: String
}


class LoginActivityLoginDisplay : LoginDisplay {

    override var username: String
        get() = usernameEditView.text.toString()
        set(value) {
            usernameEditView.setText(value)
        }

    override var password: String
        get() = passwordEditView.text.toString()
        set(value) {
            passwordEditView.setText(value)
        }

}
</code></pre>

<p>This is the example of code I'd like to test with Mockito as follows:</p>

<pre><code>verify(contract.loginDisplay).username
</code></pre>

<p>Tricky thing is - that in this call i can only verify getter of field username, meanwhile I'd like to test call on setter of this field.</p>

<p>Any help?</p>
