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

isRegistered() public method

Checks if the customer on whose page we are currently on is registered, if not throws an exception.
public isRegistered ( ) : boolean
return boolean
    public function isRegistered();

Usage Example

 function it_checks_if_customer_still_exists(ShowPageInterface $customerShowPage, SharedStorageInterface $sharedStorage, CustomerInterface $customer, UserInterface $user)
 {
     $sharedStorage->get('deleted_user')->shouldBeCalled()->willReturn($user);
     $user->getCustomer()->willReturn($customer);
     $customer->getId()->willReturn(1);
     $customerShowPage->open(['id' => 1])->shouldBeCalled();
     $customerShowPage->isRegistered()->willReturn(false);
     $this->customerShouldStillExist();
 }
All Usage Examples Of Sylius\Behat\Page\Admin\Customer\ShowPageInterface::isRegistered