title: Mockk current time
body: <p>I am using <a href="https://mockk.io/" rel="nofollow noreferrer"><code>MockK</code></a> for Unit-Tests and want to <code>verify</code> if some function was called with current time(milliseconds) parameter.</p>
  
  <p>In main app the function call:</p>
  
  <pre><code>functionName(System.currentTimeMillis())
  </code></pre>
  
  <p>But in test:</p>
  
  <pre><code>verify(exactly = 1) { 
         functionName(System.currentTimeMillis())  }
  </code></pre>
  
  <p>doesn't work, because milliseconds will be always different</p>