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\Testwork\Environment\Environment;
15 use Behat\Testwork\EventDispatcher\Event\AfterSetup;
16 use Behat\Testwork\Tester\Setup\Setup;
19 * Represents an event right after feature is setup for a test.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 final class AfterFeatureSetup extends FeatureTested implements AfterSetup
37 * @param Environment $env
38 * @param FeatureNode $feature
41 public function __construct(Environment $env, FeatureNode $feature, Setup $setup)
43 parent::__construct($env);
45 $this->feature = $feature;
46 $this->setup = $setup;
54 public function getFeature()
56 return $this->feature;
60 * Returns current test setup.
64 public function getSetup()