import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.startsWith;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
import java.time.Clock;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
public class TestInfoService {
}
private Clock buildClock(LocalDateTime dateTime) {
- return Clock.fixed(dateTime.toInstant(ZoneOffset.UTC), Clock.systemDefaultZone().getZone());
+ return Clock.fixed(dateTime.toInstant(ZoneOffset.UTC), Clock.systemUTC().getZone());
}
}