diff --git a/tests/src/Functional/ProcessorIntegrationTest.php b/tests/src/Functional/ProcessorIntegrationTest.php
index 67209d0..6279929 100644
--- a/tests/src/Functional/ProcessorIntegrationTest.php
+++ b/tests/src/Functional/ProcessorIntegrationTest.php
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\search_api\Tests;
+namespace Drupal\Tests\search_api\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
 use Drupal\Component\Utility\Html;
@@ -11,13 +11,11 @@ use Drupal\search_api\Entity\Server;
 use Drupal\search_api\Item\Field;
 use Drupal\search_api_test\PluginTestTrait;
 use Drupal\taxonomy\Tests\TaxonomyTestTrait;
-use Drupal\Tests\search_api\Functional\SearchApiBrowserTestBase;
 
 /**
  * Tests the admin UI for processors.
  *
  * @todo Move this whole class into a single IntegrationTest check*() method?
- * @todo Add tests for the "Role filter" processor.
  *
  * @group search_api
  */
@@ -52,6 +50,10 @@ class ProcessorIntegrationTest extends SearchApiBrowserTestBase {
           'plugin_id' => 'entity:node',
           'settings' => [],
         ],
+        'entity:user' => [
+          'plugin_id' => 'entity:user',
+          'settings' => [],
+        ],
       ],
     ]);
 
@@ -158,6 +160,13 @@ class ProcessorIntegrationTest extends SearchApiBrowserTestBase {
     sort($actual_processors);
     $this->assertEquals($enabled, $actual_processors);
 
+    $this->checkRoleFilterIntegration();
+    $enabled[] = 'role_filter';
+    sort($enabled);
+    $actual_processors = array_keys($this->loadIndex()->getProcessors());
+    sort($actual_processors);
+    $this->assertEquals($enabled, $actual_processors);
+
     $this->checkRenderedItemIntegration();
 
     $this->checkStopWordsIntegration();
@@ -427,6 +436,21 @@ TAGS
   }
 
   /**
+   * Tests the UI for the "Role filter" processor.
+   */
+  public function checkRoleFilterIntegration() {
+    $this->enableProcessor('role_filter');
+
+    $configuration = [
+      'default' => 1,
+      'roles' => [
+        'anonymous',
+      ],
+    ];
+    $this->editSettingsForm($configuration, 'role_filter');
+  }
+
+  /**
    * Tests the integration of the "Rendered item" processor.
    */
   public function checkRenderedItemIntegration() {
