diff --git a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
index f843892..c3743c3 100644
--- a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
+++ b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
@@ -330,6 +330,16 @@ public function testPropertyMethods() {
     $this->assertEqual($view->getTitle(), Xss::filterAdmin($title));
   }
 
+  public function testTitleWithTokens() {
+    $view = Views::getView('test_executable_displays');
+    $view->setDisplay();
+
+    // Test the title methods.
+    $view->setTitle('Page [view:current-page] out of [view:page-count]');
+    $this->assertEqual($view->getTitle(), 'Page 1 out of 1');
+  }
+
+
   /**
    * Tests the deconstructor to be sure that necessary objects are removed.
    */
