@NonNull @VisibleForTesting
  static String[] getPermissionsStrings(int requestCode) {
    switch (requestCode) {
      case CONTACTS_PERMISSION_REQUEST_CODE -> {
        return new String[] {Manifest.permission.READ_CONTACTS};
      }
      case NOTIFICATION_PERMISSION_REQUEST_CODE -> {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
          return new String[] {Manifest.permission.POST_NOTIFICATIONS};
        } else {
          return new String[0];
        }
      }
      default -> throw new IllegalArgumentException("Unknown request code " + requestCode);
    }
  }
@Test
  public void testGetPermissionsStringsContacts() {
    Assert.assertArrayEquals(
        new String[] {Manifest.permission.READ_CONTACTS},
        PermissionRequestHelper.getPermissionsStrings(
            PermissionRequestHelper.CONTACTS_PERMISSION_REQUEST_CODE));
  }