()
| 105 | } |
| 106 | |
| 107 | @Test |
| 108 | public void nowTime() { |
| 109 | PlainTime now = SystemClock.inLocalView().now().toTime(); |
| 110 | PlainTime expected = PlainTime.nowInSystemTime(); |
| 111 | assertThat( |
| 112 | now.minus(1, ClockUnit.NANOS).isBefore(expected) && now.plus(2, ClockUnit.MILLIS).isAfter(expected), |
| 113 | is(true)); |
| 114 | } |
| 115 | |
| 116 | @Test |
| 117 | public void nowMoment() { |
nothing calls this directly
no test coverage detected