@@ -0,0 +1,646 @@
+package java7.thread;%0A%0Aimport libs.junit.UnitTestRunner;%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.*;%0A%0Apublic class InterruptFlagTest %7B%0A    %0A    public static void main(String%5B%5D args) %7B%0A        UnitTestRunner.run(InterruptFlagTest.class);%0A    %7D%0A    %0A    @Test%0A    public void interruptFlag() %7B%0A        Thread t = Thread.currentThread();%0A        assertFalse(t.isInterrupted());%0A        %0A        t.interrupt();%0A        assertTrue(t.isInterrupted());%0A        assertTrue(t.isInterrupted());%0A        %0A        assertTrue(Thread.interrupted());%0A        assertFalse(Thread.interrupted());%0A        assertFalse(t.isInterrupted());%0A    %7D%0A    %0A%7D%0A

add InterruptFlagTest.java