* * 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 */ interface ScenarioLikeTested extends GherkinNodeTested { /** * Returns feature node. * * @return FeatureNode */ public function getFeature(); /** * Returns scenario node. * * @return ScenarioInterface */ public function getScenario(); }