diff --git a/tests/src/Functional/ProcessorIntegrationTest.php b/tests/src/Functional/ProcessorIntegrationTest.php
index 7f8ae97..71f33e4 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\Utility\Html;
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
@@ -10,13 +10,11 @@
 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
  */
@@ -48,6 +46,7 @@ public function setUp() {
       'status' => 1,
       'datasource_settings' => [
         'entity:node' => [],
+        'entity:user' => [],
       ],
     ]);
 
@@ -154,6 +153,13 @@ public function testProcessorIntegration() {
     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();
@@ -423,6 +429,21 @@ public function checkNodeStatusIntegration() {
   }
 
   /**
+   * 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() {
