hasTime function
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));