shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java
@Nullable
  public ActivityInfo removeReceiver(ComponentName componentName) {
    return removeComponent(
        componentName, receiverFilters, p -> p.receivers, (p, a) -> p.receivers = a);
  }
@Nullable
  public ActivityInfo removeReceiver(ComponentName componentName) {
    return removeComponent(
        componentName, receiverFilters, p -> p.receivers, (p, a) -> p.receivers = a);
  }
Removes broadcast receiver from the package manager.

@return the removed component or {@code null} if no such component existed.