Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / behat / gherkin / tests / Behat / Gherkin / Keywords / CachedArrayKeywordsTest.php
diff --git a/vendor/behat/gherkin/tests/Behat/Gherkin/Keywords/CachedArrayKeywordsTest.php b/vendor/behat/gherkin/tests/Behat/Gherkin/Keywords/CachedArrayKeywordsTest.php
deleted file mode 100644 (file)
index bf10cb3..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-namespace Tests\Behat\Gherkin\Keywords;
-
-use Behat\Gherkin\Keywords\CachedArrayKeywords;
-use Behat\Gherkin\Node\StepNode;
-
-class CachedArrayKeywordsTest extends KeywordsTest
-{
-    protected function getKeywords()
-    {
-        return new CachedArrayKeywords(__DIR__ . '/../../../../i18n.php');
-    }
-
-    protected function getKeywordsArray()
-    {
-        return include(__DIR__ . '/../../../../i18n.php');
-    }
-
-    protected function getSteps($keywords, $text, &$line, $keywordType)
-    {
-        $steps = array();
-        foreach (explode('|', $keywords) as $keyword) {
-            if ('*' === $keyword) {
-                continue;
-            }
-
-            if (false !== mb_strpos($keyword, '<')) {
-                $keyword = mb_substr($keyword, 0, -1);
-            }
-
-            $steps[] = new StepNode($keyword, $text, array(), $line++, $keywordType);
-        }
-
-        return $steps;
-    }
-}