hasProductInAssociation() public method

public hasProductInAssociation ( string $productName, string $productAssociationName ) : boolean
$productName string
$productAssociationName string
return boolean
Example #1
0
 /**
  * @param string $productName
  * @param string $productAssociationName
  *
  * @throws \InvalidArgumentException
  */
 private function assertIsProductIsInAssociation($productName, $productAssociationName)
 {
     Assert::true($this->showPage->hasProductInAssociation($productName, $productAssociationName), sprintf('There should be an associated product "%s" under association "%s" but it does not.', $productName, $productAssociationName));
 }