shadows/framework/src/main/java/org/robolectric/shadows/ShadowKeyguardManager.java
@Implementation(minSdk = O_MR1)
  protected Intent createConfirmFactoryResetCredentialIntent(
      CharSequence title, CharSequence description, CharSequence alternateButtonLabel) {
    return confirmFactoryResetCredentialIntent;
  }
@Implementation(minSdk = O_MR1)
  protected Intent createConfirmFactoryResetCredentialIntent(
      CharSequence title, CharSequence description, CharSequence alternateButtonLabel) {
    return confirmFactoryResetCredentialIntent;
  }
Returns the intent set via
{@link #setConfirmFactoryResetCredentialIntent(Intent)}, otherwise null.