diff --git a/_test/core/DokuWikiTest.php b/_test/core/DokuWikiTest.php
index 2e4caefdbba79bd516197a7d560bf531813b4229..98a5aa796e5bb0804e063fb58bdb541930177c27 100644
--- a/_test/core/DokuWikiTest.php
+++ b/_test/core/DokuWikiTest.php
@@ -1,12 +1,12 @@
 <?php
-
-
 if(!class_exists('PHPUnit_Framework_TestCase')) {
     /**
      * phpunit 5/6 compatibility
      */
     class PHPUnit_Framework_TestCase extends PHPUnit\Framework\TestCase {
         /**
+         * setExpectedException is deprecated in PHPUnit 6
+         *
          * @param string $class
          * @param null|string $message
          */
@@ -19,10 +19,10 @@ if(!class_exists('PHPUnit_Framework_TestCase')) {
     }
 }
 
-
-
 /**
  * Helper class to provide basic functionality for tests
+ *
+ * @uses PHPUnit_Framework_TestCase and thus PHPUnit 5.7+ is required
  */
 abstract class DokuWikiTest extends PHPUnit_Framework_TestCase {
 
@@ -150,35 +150,6 @@ abstract class DokuWikiTest extends PHPUnit_Framework_TestCase {
         $INPUT = new Input();
     }
 
-    /**
-     * Compatibility for older PHPUnit versions
-     *
-     * @param string $originalClassName
-     * @return PHPUnit_Framework_MockObject_MockObject
-     */
-    protected function createMock($originalClassName) {
-        if(is_callable(array('parent', 'createMock'))) {
-            return parent::createMock($originalClassName);
-        } else {
-            return $this->getMock($originalClassName);
-        }
-    }
-
-    /**
-     * Compatibility for older PHPUnit versions
-     *
-     * @param string $originalClassName
-     * @param array $methods
-     * @return PHPUnit_Framework_MockObject_MockObject
-     */
-    protected function createPartialMock($originalClassName, array $methods) {
-        if(is_callable(array('parent', 'createPartialMock'))) {
-            return parent::createPartialMock($originalClassName, $methods);
-        } else {
-            return $this->getMock($originalClassName, $methods);
-        }
-    }
-
     /**
      * Waits until a new second has passed
      *