Replace JUnit Timeout Annotation Property with assertTimeout - The JUnit Jupiter API provides timeout assertions, i.e. assertions that make sure an executable completes before a timeout is exceeded. In JUnit 4 this is achieved by using annotation properties, e.g., @Test(timeout=...). This rule removes the timeout annotation property and inserts an assertTimeout instead.