title: Possible to mock/test Android ViewBinding interactions?
body: <p>currently trying to test the interactions with <a href="https://developer.android.com/topic/libraries/view-binding" rel="noreferrer">ViewBinding</a> classes in Unit Tests</p>
  
  <pre><code>"Invalid Input" should {
      "disable the LoginButton" {
          val viewBinding: FrLoginBinding = mockk()
  
          InvalidInputViewStateBinder.bind(InvalidInput, viewBinding)
  
          verify { viewBinding.loginButton.isEnabled = false }
      }
  }
  </code></pre>
  
  <p>something like this is what i had in mind. The Views in the ViewBinding are public final  Properties and cannot easily be mocked. At least i'm unable to. Passing a <code>View</code> mock to create the ViewBinding also doesn't work, as i'd have to mock <code>findViewById</code> for it.</p>
  
  <p>Has anyone tried this out and got it to work?</p>