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\StepNode;
15 use Behat\Testwork\Environment\Environment;
16 use Behat\Testwork\EventDispatcher\Event\BeforeTested;
19 * Represents an event before step test.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 final class BeforeStepTested extends StepTested implements BeforeTested
37 * @param Environment $env
38 * @param FeatureNode $feature
39 * @param StepNode $step
41 public function __construct(Environment $env, FeatureNode $feature, StepNode $step)
43 parent::__construct($env);
45 $this->feature = $feature;
54 public function getFeature()
56 return $this->feature;
64 public function getStep()