@Deprecated(since = "4.4.0")
    public static long elapsedMillisSince(long start) {
        return System.currentTimeMillis() - start;
    }
@Test
    void testDurationMatchesExpectWithDate() throws InterruptedException {
        Date startTime = new Date();

        Thread.sleep(Duration.ofSeconds(1).toMillis());

        long taken = TimeUtils.elapsedMillisSince(startTime.getTime());
        assertTrue(taken >= 1000, "Elapsed time should be equal to or greater than 1000 ms but was " + taken);
        assertTrue(taken < 1500, "Elapsed time should be smaller than 1500 ms but was " + taken);
    }