Comment #2 on issue 347 by
syva...@yahoo.com: timeout with never
http://code.google.com/p/mockito/issues/detail?id=347
It would be nice to have the following functionality:
verify(a.b(), timeout(x).never()): verify that b is not called within x ms.
verify(a.b(), timeout(x).atMost(y)): verify that b is not called more than
y times within x ms.
I agree timeout might be incorrect term here, as we are not waiting for the
condition to become true. Instead we are waiting to see that it stays true.
Unfortunately I cannot come up with any good term for that.