shadows/framework/src/main/java/org/robolectric/shadows/ShadowAlertDialog.java
public static void reset() {
    ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application);
    shadowApplication.setLatestAlertDialog(null);
  }
public static void reset() {
    ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application);
    shadowApplication.setLatestAlertDialog(null);
  }
Resets the tracking of the most recently created {@code AlertDialog}