getAttributeByName() 공개 메소드

public getAttributeByName ( string $attributeName ) : string
$attributeName string
리턴 string
예제 #1
0
 /**
  * @Then I should see the product attribute :attributeName with value :expectedAttribute
  */
 public function iShouldSeeTheProductAttributeWithValue($attributeName, $expectedAttribute)
 {
     $certainAttribute = $this->showPage->getAttributeByName($attributeName);
     Assert::same($certainAttribute, $expectedAttribute, sprintf('Product should have attribute %s with value %s, but has %s.', $attributeName, $expectedAttribute, $certainAttribute));
 }