Class MockTimer

  • All Implemented Interfaces:
    Timer

    public class MockTimer
    extends Object
    implements Timer
    Represents a MockTimer
    Author:
    brozow
    • Constructor Detail

      • MockTimer

        public MockTimer()
    • Method Detail

      • getCurrentTime

        public long getCurrentTime()
        Description copied from interface: Timer

        getCurrentTime

        Specified by:
        getCurrentTime in interface Timer
        Returns:
        a long.
      • setCurrentTime

        public void setCurrentTime​(long currentTime)