title: Specify method paramater class type in 'every' block
body: <p>I have a problem when using any() statement inside the save() method (Spring Framework). I get the error:</p>
  <blockquote>
  <p>Type inference failed: Not enough information to infer parameter T in inline fun  any( ): T<br />
  Please specify it explicitly.</p>
  </blockquote>
  <p>Is there any way to pass the method parameter so I wouldn't have the error? I tried to pass the object as a parameter but the save() method creates a new object which requires to use any().</p>
  <pre><code>every { repository.save(any()) } returns classObject
  </code></pre>
  <p>Error while passing the object:</p>
  <blockquote>
  <p>io.mockk.MockKException: no answer found for:
  Repository(#10).save(app.core.model.Class@734a4045)</p>
  </blockquote>