public class StrictMockClock extends Object implements com.atlassian.core.util.Clock
Clock that will return predefined dates and will throws exception, if
called more times than the number of predefined values.| Constructor and Description |
|---|
StrictMockClock(List<Long> times) |
StrictMockClock(Long... times) |
| Modifier and Type | Method and Description |
|---|---|
long |
first() |
Date |
getCurrentDate() |
long |
last() |
List<Long> |
times() |
public StrictMockClock(Long... times)
Copyright © 2002-2018 Atlassian. All Rights Reserved.