title: Mockk calls the method instead of mocking the dependency
body: <p>Hi I have the something similar in my production code. A simple method that will throw an exception:</p>
  
  <pre><code>class Production {
  
      fun doWork(): String {
          throw IllegalArgumentException()
      }
  }
  </code></pre>
  
  <p>However, when I mock this <code>Production</code> class with Mockk, it runs the underlying <code>doWork()</code> method instead of mocking the method call:</p>
  
  <pre><code>import io.mockk.MockKAnnotations
  import io.mockk.every
  import io.mockk.impl.annotations.MockK
  import org.junit.Assert.assertEquals
  import org.junit.Before
  import org.junit.Test
  
  class Test {
  
      @MockK
      lateinit var production: Production
  
      @Before
      fun setup() {
          MockKAnnotations.init(this)
      }
  
      @Test
      fun test() {
          every { production.doWork() } returns "Str"
  
          assertEquals("Str", production.doWork())
      }
  }
  </code></pre>
  
  <p>The test fails with <code>java.lang.IllegalArgumentException</code>. Shouldn't Mockk be mocking this method call in <code>Production</code> class? I have a feeling that this could be a misunderstanding on my part coming from a Mockito background.</p>