io.github.faketime-java:faketime-junit (maven):  FakeTime uses a native Java agent to replace System.currentTimeMillis() implementation with the one you can control using system properties 
Keywords: java|junit|maven|testing|time