hasTax() public method

public hasTax ( string $tax ) : boolean
$tax string
return boolean
 /**
  * @Then the order should have tax :tax
  */
 public function theOrderShouldHaveTax($tax)
 {
     Assert::true($this->showPage->hasTax($tax), sprintf('Order should have tax "%s", but it does not.', $tax));
 }