1 | <?php |
||
22 | final class TokensReplacementStepTester implements StepTester |
||
23 | { |
||
24 | /** |
||
25 | * @var StepTester |
||
26 | */ |
||
27 | private $baseTester; |
||
28 | |||
29 | /** |
||
30 | * @var StepTokensReplacer |
||
31 | */ |
||
32 | private $tokensReplacer; |
||
33 | |||
34 | /** |
||
35 | * @var StepNode |
||
36 | */ |
||
37 | private $step; |
||
38 | |||
39 | /** |
||
40 | * Initializes tester. |
||
41 | * |
||
42 | * @param StepTester $baseTester |
||
43 | * @param StepTokensReplacer $tokensReplacer |
||
44 | */ |
||
45 | public function __construct(StepTester $baseTester, StepTokensReplacer $tokensReplacer) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function setUp(Environment $env, FeatureNode $feature, StepNode $step, $skip) |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function test(Environment $env, FeatureNode $feature, StepNode $step, $skip) |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function tearDown(Environment $env, FeatureNode $feature, StepNode $step, $skip, StepResult $result) |
||
81 | } |
||
82 |