Class Timer

java.lang.Object
org.mockito.internal.util.Timer

public class Timer extends Object
  • Constructor Details

    • Timer

      public Timer(long durationMillis)
  • Method Details

    • isCounting

      public boolean isCounting()
      Informs whether the timer is still counting down.
    • start

      public void start()
      Starts the timer count down.
    • duration

      public long duration()