Package com.atlassian.jira.util
Class StrictMockClock
java.lang.Object
com.atlassian.jira.util.StrictMockClock
- All Implemented Interfaces:
com.atlassian.core.util.Clock
Deprecated.
A mock
Clock that will return predefined dates and will throws exception, if
called more times than the number of predefined values.- Since:
- v4.3
-
Constructor Summary
ConstructorsConstructorDescriptionStrictMockClock(Long... times) Deprecated.StrictMockClock(List<Long> times) Deprecated. -
Method Summary
-
Constructor Details
-
StrictMockClock
Deprecated. -
StrictMockClock
Deprecated.
-
-
Method Details
-
times
Deprecated. -
first
public long first()Deprecated. -
last
public long last()Deprecated. -
getCurrentDate
Deprecated.- Specified by:
getCurrentDatein interfacecom.atlassian.core.util.Clock
-
Clockinstead