private void assertAccountsEqual(Collection<Account> accounts, Map<Short, Account> accountMap) {
    AccountInfoMap accountInfoMap = new AccountInfoMap(accounts);
    assertAccountInfoMapSameAccountWithAccountMap(accountInfoMap, accountMap);
  }
Compare the account collection in json string with the account map from id to account.
@param accounts The account collection in json string.
@param accountMap The account map from id to account.
ambry-account/src/test/java/com/github/ambry/account/RouterStoreTest.java