title: How to mock sealed classes with mockk?
body: <p>I am trying to mock a sealed class which looks something like this:</p>
  
  <pre><code>sealed class Location
  
  class Home: Location{
      val name = "Home"
  }
  </code></pre>
  
  <p>I would like to be able to do the following:</p>
  
  <pre><code>val mockHome = mockk&lt;Home&gt;() {
      every { name } answers { "My Home" }
  }
  </code></pre>
  
  <p>But unfortunately when I run this it fails with the following error:</p>
  
  <blockquote>
    <p>io.mockk.MockKException: Missing calls inside every { ... } block.</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>