shadows/framework/src/main/java/org/robolectric/shadows/ShadowView.java
@Deprecated
  public static boolean clickOn(View view) {
    ShadowView shadowView = Shadow.extract(view);
    return shadowView.checkedPerformClick();
  }
@Deprecated
  public static boolean clickOn(View view) {
    ShadowView shadowView = Shadow.extract(view);
    return shadowView.checkedPerformClick();
  }
Calls {@code performClick()} on a {@code View} after ensuring that it and its ancestors are visible and that it
is enabled.

@param view the view to click on
@return true if {@code View.OnClickListener}s were found and fired, false otherwise.
@throws RuntimeException if the preconditions are not met.
@deprecated Please use Espresso for view interactions