isEmpty() public method

public isEmpty ( ) : boolean
return boolean
Example #1
0
 /**
  * @Then my cart should be empty
  * @Then cart should be empty with no value
  */
 public function iShouldBeNotifiedThatMyCartIsEmpty()
 {
     $this->summaryPage->open();
     Assert::true($this->summaryPage->isEmpty(), 'There should appear information about empty cart, but it does not.');
 }