考虑以下JUnit测试:@TestpublicvoidtestSettingInterruptFlag()throwsInterruptedException{ThreadblockingThread=newThread(newRunnable(){@Overridepublicsynchronizedvoidrun(){try{wait();}catch(InterruptedExceptione){Thread.currentThread().interrupt();}}});blockingThread.start();blockingThread.interrupt();blo