isAtSameMomentAs function
Implementation
Matcher isAtSameMomentAs(DateTime expectedDateTime) {
return matcher('to be at same moment as <$expectedDateTime>', (item, _) {
assert(item is DateTime);
return (item as DateTime).isAtSameMomentAs(expectedDateTime);
});
}