Matches the weekday from a HasDate.
Matcher hasWeekday(Object? matcher) => isA<HasDate>().having((d) => d.weekday, 'weekday', matcher);