@Override
  public boolean askForNotificationPostPermission(@NonNull Activity activity) {
    return PermissionRequestHelper.check(
        activity, PermissionRequestHelper.NOTIFICATION_PERMISSION_REQUEST_CODE);
  }
@Test
  @Config(sdk = Build.VERSION_CODES.TIRAMISU)
  public void testReturnsTrueIfAlreadyHasPermission() {
    var appShadow = Shadows.shadowOf(RuntimeEnvironment.getApplication());
    appShadow.grantPermissions(Manifest.permission.POST_NOTIFICATIONS);
    try (var scenario = ActivityScenario.launch(TestFragmentActivity.class)) {
      scenario
          .moveToState(Lifecycle.State.RESUMED)
          .onActivity(
              activity -> {
                Assert.assertTrue(mUnderTest.askForNotificationPostPermission(activity));
              });
    }
  }