1 | <?php |
||
21 | class FeatureContext extends MinkContext implements KernelAwareInterface |
||
22 | { |
||
23 | private $kernel; |
||
24 | private $parameters; |
||
25 | |||
26 | public function __construct(array $parameters) |
||
30 | |||
31 | /** |
||
32 | * Sets HttpKernel instance. |
||
33 | * This method will be automatically called by Symfony2Extension ContextInitializer. |
||
34 | * |
||
35 | * @param KernelInterface $kernel |
||
36 | */ |
||
37 | public function setKernel(KernelInterface $kernel) |
||
41 | |||
42 | /** |
||
43 | * @When /^I press "([^"]*)" after it is ready$/ |
||
44 | */ |
||
45 | public function iPressAfterItIsReady($buttonLabel) |
||
51 | |||
52 | /** |
||
53 | * @When /^I wait until the download button shows up$/ |
||
54 | */ |
||
55 | public function waitUntilTheDownloadButtonShowsUp() |
||
59 | |||
60 | /** |
||
61 | * @Given /^I should see "([^"]*)" link$/ |
||
62 | */ |
||
63 | public function iShouldSeeLink($buttonLabel) |
||
74 | } |
||
75 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.