resultCallback);
}

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

  resolveSomeGivenResultsToSuccess();

  assertSuccessCall(combinedResult, resultCallback);
}

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

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

  assertSuccessCall(combinedResult, resultCallback);
}

function testCombineOnSuccessWhenAllResu