Class LogicalClockRule

java.lang.Object
org.junit.rules.ExternalResource
fr.gouv.vitam.common.time.LogicalClockRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class LogicalClockRule extends org.junit.rules.ExternalResource
  • Constructor Details

    • LogicalClockRule

      public LogicalClockRule()
  • Method Details

    • after

      protected void after()
      Overrides:
      after in class org.junit.rules.ExternalResource
    • logicalSleep

      public void logicalSleep(int amount, ChronoUnit unit)
    • freezeTime

      public void freezeTime()
    • freezeTime

      public void freezeTime(LocalDateTime localDateTime)
    • resumeTime

      public void resumeTime()