shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
@Implementation
  protected final int delete(Uri url, String where, String[] selectionArgs) {
    ContentProvider provider = getProvider(url);

    DeleteStatement deleteStatement = new DeleteStatement(url, provider, where, selectionArgs);
    statements.add(deleteStatement);
    deleteStatements.add(deleteStatement);

    if (provider != null) {
      return provider.delete(url, where, selectionArgs);
    } else {
      return 1;
    }
  }
@Implementation
  protected final int delete(Uri url, String where, String[] selectionArgs) {
    ContentProvider provider = getProvider(url);

    DeleteStatement deleteStatement = new DeleteStatement(url, provider, where, selectionArgs);
    statements.add(deleteStatement);
    deleteStatements.add(deleteStatement);

    if (provider != null) {
      return provider.delete(url, where, selectionArgs);
    } else {
      return 1;
    }
  }
If a {@link ContentProvider} is registered for the given {@link Uri}, its {@link
ContentProvider#delete(Uri, String, String[])} method will be invoked.

<p>Tests can verify that this method was called using {@link #getDeleteStatements()} or {@link
#getDeletedUris()}.

<p>If no appropriate {@link ContentProvider} is found, no action will be taken and {@code 1}
will be returned.