function assertTestFailure(testCase, name, message) {
  assertContains(
      message,
      asserts.assert(testCase).getResult().resultsByName[name][0].toString());
}
@param {?TestCase} testCase
@param {string} name
@param {string} message
@suppress {visibility}