title: mockk exception - no answer found for
body: <p>using mockk for testing kotlin function.</p>
  <pre class="lang-kotlin prettyprint-override"><code>private val serviceObject = mockk&lt;Service&gt;()
  private val serviceToBeTested = ServiceToBeTestd(Service)
          
  fun test(){
      when(serviceObject.function1(argument1,argument1))
          .thenReturn(&lt;something&gt;)
  }
  </code></pre>
  <p>When i try to run it, i get this error:</p>
  <pre><code>io.mockk.MockKException: no answer found for: Service(#1).function1(argument1, argument2)
  </code></pre>
  <p>Any idea why ?</p>
  <p>ServiceToBeTestd is the service to be tested, Service is wired in it:</p>
  <pre><code>open class ServiceToBeTestd
      constructor(private val service: Service)
  </code></pre>