public static void Faulted(Task task, string messageFormat = null, params object[] args)
 {
     if (!task.IsFaulted)
     {
         TaskAssert.ThrowFailure(
             GetMethodFailureMessage(nameof(Faulted)),
             FormatMessage(messageFormat, args));
     }
 }