diff --git a/test/TextFilter/TextFilterTest.php b/test/TextFilter/TextFilterTest.php
index <HASH>..<HASH> 100644
--- a/test/TextFilter/TextFilterTest.php
+++ b/test/TextFilter/TextFilterTest.php
@@ -2,11 +2,13 @@
 
 namespace Anax\TextFilter;
 
+use \PHPUnit\Framework\TestCase;
+
 /**
  * A testclass
  *
  */
-class TextFilterTest extends \PHPUnit_Framework_TestCase
+class TextFilterTest extends TestCase
 {
     /**
      * Supported filters.
diff --git a/test/TextFilter/TextFilterUtilitiesTest.php b/test/TextFilter/TextFilterUtilitiesTest.php
index <HASH>..<HASH> 100644
--- a/test/TextFilter/TextFilterUtilitiesTest.php
+++ b/test/TextFilter/TextFilterUtilitiesTest.php
@@ -2,11 +2,13 @@
 
 namespace Anax\TextFilter;
 
+use \PHPUnit\Framework\TestCase;
+
 /**
  * A testclass
  *
  */
-class TextFilterUtilitiesTest extends \PHPUnit_Framework_TestCase
+class TextFilterUtilitiesTest extends TestCase
 {
     /**
      * Provider for TextWithLinks
Upgrade phpunit testclass to support newer version of phpunit.