File: //usr/local/wp/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Event/ScenarioLikeTested.php
<?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();
}