Example #1
0
 /**
  * @Then I should not be able to access product :product
  */
 public function iShouldNotBeAbleToAccessProduct(ProductInterface $product)
 {
     $this->productShowPage->tryToOpen(['product' => $product]);
     expect($this->productShowPage->isOpen(['product' => $product]))->toBe(false);
 }