Verify that a test method fails if it exceeds the specified timeout
Preconditions (2)
Step 1: Annotate the test method with @Timeout(2) to set a 2-second timeout
Step 2: Inside the test method, add a delay of 3 seconds using Thread.sleep(3000)
Step 3: Run the test method
Step 4: Observe the test result
✅ Expected Result: The test fails due to exceeding the 2-second timeout