ToSuccess(); });
  mockClock.tick();

  assertSuccessCall(combinedResult, resultCallback);
}

function testCombineWhenAllResultsFail() {
  goog.result.wait(combinedResult, resultCallback);

  resolveAllGivenResultsToError();

  assertSuccessCall(combinedResult, resultCallback);
}

function testAsyncCombineWhenAllResultsFail() {
  goog.result.wait(combinedResult, resultCallback);

  goog.Timer.callOnce(function() { resolveAllGivenResultsToError(); });
  mockClock.tick();

  assertSuccessCall(combinedResult, 