1 | <?php |
||
9 | final class StaticContentContext implements Context |
||
10 | { |
||
11 | /** |
||
12 | * @var StaticContentPageInterface |
||
13 | */ |
||
14 | private $staticContentPage; |
||
15 | |||
16 | /** |
||
17 | * @param StaticContentPageInterface $staticContentPage |
||
18 | */ |
||
19 | public function __construct(StaticContentPageInterface $staticContentPage) |
||
23 | |||
24 | /** |
||
25 | * @When I access static content with name :name |
||
26 | */ |
||
27 | public function iAccessStaticContentWithName($name) |
||
31 | |||
32 | /** |
||
33 | * @Then /^I should see (that static content)$/ |
||
34 | */ |
||
35 | public function iShouldSeeThatStaticContent(StaticContent $staticContent) |
||
39 | |||
40 | /** |
||
41 | * @Then /^(that static content) should not be found there$/ |
||
42 | */ |
||
43 | public function thatPageShouldNotBeFound(StaticContent $staticContent) |
||
53 | } |
||
54 |