diff --git a/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
index 27659ec..5d968d7 100644
--- a/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
+++ b/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
@@ -791,7 +791,12 @@ public function run(array $methods = array()) {
     set_error_handler(array($this, 'errorHandler'));
     // Iterate through all the methods in this class, unless a specific list of
     // methods to run was passed.
-    $class_methods = get_class_methods($class);
+    $class_methods = array_filter(get_class_methods($class), function ($method) {
+      return strpos($method, 'test') === 0;
+    });
+    if (empty($class_methods)) {
+      $this->assert(FALSE, 'No test methods found.', 'Requirements', array('function' => __METHOD__ . '()', 'file' => __FILE__, 'line' => __LINE__));
+    }
     if ($methods) {
       $class_methods = array_intersect($class_methods, $methods);
     }
@@ -811,7 +816,7 @@ public function run(array $methods = array()) {
       }
       foreach ($class_methods as $method) {
         // If the current method starts with "test", run it - it's a test.
-        if (strtolower(substr($method, 0, 4)) == 'test') {
+        if (TRUE) {
           // Insert a fail record. This will be deleted on completion to ensure
           // that testing completed.
           $method_info = new \ReflectionMethod($class, $method);
