hasTime function

Matcher hasTime(
  1. Object? hour, [
  2. Object? minute = 0,
  3. Object? second = 0,
  4. Object? nanosecond = 0,
])

Matches the time from a HasTime.

Implementation

Matcher hasTime(Object? hour,
        [Object? minute = 0, Object? second = 0, Object? nanosecond = 0]) =>
    allOf(hasHour(hour), hasMinute(minute), hasSecond(second),
        hasNanosecond(nanosecond));