title: Is there a way to expect a timeout?
body: <p>Currently, I'm writing some integration tests and I need to assert that a call to a method blocked the calling thread for at least x seconds. The thing is I have method that will block forever and I need to assert that it has been blocked for at least x seconds. Is there any way to do that? The only other answer is about JUnit4 and we are using JUnit 5... In advance thank you for your answer.</p>