title: Mocck issue with Instant.now().toString()
body: <p>I have implemented an interface. There I am passing timestamp as parameter to a function. For geting the current time, I have used <code>Instant.now().toString()</code>.</p>
  <p>The function looks like this:</p>
  <pre><code>fun createId() {
      val values = Record(name = &quot;ABC&quot;, timestamp = Instant.now().toString())
      interface_name.store(values)
  }
  
  
  @Test
  fun `test1 for createId`() {
      val values = Record(name = &quot;ABC&quot;, timestamp = &quot;2020-12-28&quot;)
      every { interface_name.store(values) } just runs
  }
  </code></pre>
  <p>This is giving me: <code>Verification failed</code> because the timestamp is different. I am unable to figure out how do I mock the Instant.now() so that I get the static timestamp while testing. Any help is appreciated.</p>