@@ -0,0 +1,471 @@
+package me.tongfei.progressbar;%0A%0Aimport org.junit.Test;%0A%0Apublic class Issue50Test %7B%0A    @Test%0A    public void testCloseSpeed() throws Exception %7B%0A        int tenSecondsInMS = 10 * 1000;%0A        long startTime = System.currentTimeMillis();%0A%0A        try(ProgressBar pb = new ProgressBar(%22Foo%22, 100, tenSecondsInMS))%7B%0A            Thread.sleep(5);%0A        %7D%0A%0A        long endTime = System.currentTimeMillis();%0A%0A        assert((endTime - startTime) %3C tenSecondsInMS);%0A    %7D%0A%7D%0A

Add a test