1 | <?php |
||
24 | final class ManagingProductsContext implements Context |
||
25 | { |
||
26 | /** |
||
27 | * @var SharedStorageInterface |
||
28 | */ |
||
29 | private $sharedStorage; |
||
30 | |||
31 | /** |
||
32 | * @var AdminProductShowPageInterface |
||
33 | */ |
||
34 | private $showPage; |
||
35 | |||
36 | /** |
||
37 | * @var IndexPageInterface |
||
38 | */ |
||
39 | private $indexPage; |
||
40 | |||
41 | |||
42 | public function __construct( |
||
51 | |||
52 | /** |
||
53 | * @When I delete the :product product |
||
54 | */ |
||
55 | public function iDeleteProduct(ProductInterface $product) |
||
63 | |||
64 | /** |
||
65 | * @Then /^(this product) should not exist in the product catalog$/ |
||
66 | */ |
||
67 | public function productShouldNotExist(ProductInterface $product) |
||
73 | } |
||
74 |