Sylius\Behat\Page\Admin\Customer\ShowPageInterface::getDefaultAddress PHP Method

getDefaultAddress() public method

public getDefaultAddress ( ) : string
return string
    public function getDefaultAddress();

Usage Example

 /**
  * @Then his default address should be :defaultAddress
  */
 public function hisShippingAddressShouldBe($defaultAddress)
 {
     Assert::same(str_replace(',', '', $defaultAddress), $this->showPage->getDefaultAddress(), 'Customer\'s default address should be "%s", but it is not.');
 }