How do I specify that a mock has no interactions after a given timeout in mockito-scala?

285 Views Asked by At

I can't find a nice Scala DSL way to specify that a mock was not called at all after a specified duration.

Something like

aMock wasNever calledAgain after 2.seconds

The doc also doesn't mention anthing. https://github.com/mockito/mockito-scala

UPDATE: See https://github.com/mockito/mockito-scala/issues/253

0

There are 0 best solutions below