public String getProgress(final boolean running, final long size, final long transferred) {
        return this.getProgress(System.currentTimeMillis(), running, size, transferred);
    }
@Test
    public void testProgressRemaining() {
        final long start = System.currentTimeMillis();
        Speedometer m = new Speedometer(start, true);
        assertEquals("1 B of 5 B (20%, 1 B/sec, 4 seconds remaining)", m.getProgress(start + 1000L, true, 5L, 1L));
        assertEquals("4 B of 5 B (80%, 2 B/sec, 1 seconds remaining)", m.getProgress(start + 3000L, true, 5L, 4L));
        assertEquals("4 B of 5 B (80%, 0 B/sec)", m.getProgress(start + 4000L, true, 5L, 4L));
    }