@Test
  public void testRenameGoogleCorpAccountNotSupported() {
    String accountName = AccountDb.GOOGLE_CORP_ACCOUNT_NAME;
    accountDb.add(accountName, SECRET, OtpType.HOTP, 1, true, null);
    try {
      accountDb.rename(index(accountName, null), "newName");
      fail();
    } catch (UnsupportedOperationException expected) {}
  }
Note: caller should carefully determine the expected value of {@code isGoogleAccount}, which
is affected by multiple factors.

@param isGoogleAccount is a {@code boolean}, not a {@link Boolean}
javatests/com/google/android/apps/authenticator/otp/AccountDbTest.java