diff --git a/core/modules/user/lib/Drupal/user/Tests/Views/HandlerArgumentUserUidTest.php b/core/modules/user/lib/Drupal/user/Tests/Views/HandlerArgumentUserUidTest.php
index 9d0f30f..170cc4a 100644
--- a/core/modules/user/lib/Drupal/user/Tests/Views/HandlerArgumentUserUidTest.php
+++ b/core/modules/user/lib/Drupal/user/Tests/Views/HandlerArgumentUserUidTest.php
@@ -43,6 +43,11 @@ public function testArgumentTitle() {
     $this->executeView($view, array($account->uid));
     $this->assertEqual($view->getTitle(), $account->label());
     $view->destroy();
+
+    // Tests the anonymous user.
+    $this->executeView($view, array(0));
+    $this->assertEqual($view->getTitle(), config('user.settings')->get('anonymous'));
+    $view->destroy();
   }
 
 }
