Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / EventDispatcher / Event / ScenarioLikeTested.php
diff --git a/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Event/ScenarioLikeTested.php b/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Event/ScenarioLikeTested.php
new file mode 100644 (file)
index 0000000..bd74185
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+
+/*
+ * This file is part of the Behat.
+ * (c) Konstantin Kudryashov <ever.zet@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Behat\Behat\EventDispatcher\Event;
+
+use Behat\Gherkin\Node\FeatureNode;
+use Behat\Gherkin\Node\ScenarioInterface;
+
+/**
+ * Represents an event of scenario-like structure (Scenario, Background, Example).
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface ScenarioLikeTested extends GherkinNodeTested
+{
+    /**
+     * Returns feature node.
+     *
+     * @return FeatureNode
+     */
+    public function getFeature();
+
+    /**
+     * Returns scenario node.
+     *
+     * @return ScenarioInterface
+     */
+    public function getScenario();
+}