Author: Anna Walasek (anna.walasek@lakion.com)
Author: Jan Góralski (jan.goralski@lakion.com)
Inheritance: extends Sylius\Behat\Page\SymfonyPageInterface
Ejemplo n.º 1
0
 /**
  * @param int $expectedCount
  *
  * @throws \InvalidArgumentException
  */
 private function assertAddressesCountOnPage($expectedCount)
 {
     $actualCount = $this->addressBookIndexPage->getAddressesCount();
     Assert::same($expectedCount, $actualCount, sprintf('There should be %d addresses on the list, but %d addresses has been found.', $expectedCount, $actualCount));
 }