Hey,
I'm running a scheduler implemented by multiple threads test , and using mockito to mock some task. Mockito complains that some of my task methods are not executed.But the scheduler log says those methods were executed.And when i put Thread.Sleep between my scheduler and mockito's verify methods, things become normal. It really seems like a mockito bug.
I'm really curious about whether it's my fault or a bug.I'm happy to be contacted!
Best wish for you all!