diff --git a/src/Tests/TokenMatcherTest.php b/src/Tests/TokenMatcherTest.php
index efed901..4f680f2 100644
--- a/src/Tests/TokenMatcherTest.php
+++ b/src/Tests/TokenMatcherTest.php
@@ -22,13 +22,6 @@ class TokenMatcherTest extends WebTestBase {
   protected $adminUser;
 
   /**
-   * Token service.
-   *
-   * @var \Drupal\Core\Utility\Token
-   */
-  protected $tokenService;
-
-  /**
    * The node object.
    *
    * @var \Drupal\node\NodeInterface
@@ -51,8 +44,6 @@ class TokenMatcherTest extends WebTestBase {
 
   protected function setUp() {
     parent::setUp();
-    // Get the token service.
-    $this->tokenService = \Drupal::token();
 
     // Create and log in as a user who can administer blocks.
     $this->adminUser = $this->drupalCreateUser(['administer blocks']);
