Sylius\Behat\Page\Shop\HomePageInterface::getFullName PHP Method

getFullName() public method

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

Usage Example

 /**
  * @Then I should not be logged in as :fullName
  */
 public function iShouldNotBeLoggedInAs($fullName)
 {
     $this->homePage->open();
     Assert::false($this->homePage->hasLogoutButton(), 'I should not be logged in.');
     Assert::false(strpos($this->homePage->getFullName(), $fullName), sprintf('I should not be logged in as %s.', $fullName));
 }