4 * This file is part of the Behat.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Behat\EventDispatcher\Event;
13 use Behat\Gherkin\Node\FeatureNode;
14 use Behat\Gherkin\Node\ScenarioInterface;
17 * Represents an event of scenario-like structure (Scenario, Background, Example).
19 * @author Konstantin Kudryashov <ever.zet@gmail.com>
21 interface ScenarioLikeTested extends GherkinNodeTested
24 * Returns feature node.
28 public function getFeature();
31 * Returns scenario node.
33 * @return ScenarioInterface
35 public function getScenario();