public synchronized Account createAndAddRandomAccount(QuotaResourceType quotaResourceType) {
    Account account = generateRandomAccount(quotaResourceType);
    try {
      updateAccounts(Collections.singletonList(account));
    } catch (AccountServiceException ase) {
      throw new IllegalStateException(ase);
    }
    return account;
  }
Creates and adds an {@link Account} to this {@link AccountService}. The account will contain one container
with {@link Container#DEFAULT_PUBLIC_CONTAINER_ID}, one with {@link Container#DEFAULT_PRIVATE_CONTAINER_ID} and
one other random {@link Container}.
@param quotaResourceType {@link QuotaResourceType} for the account.
@return the {@link Account} that was created and added.
ambry-test-utils/src/main/java/com/github/ambry/account/InMemAccountService.java