Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Core\Repository\CustomerRepositoryInterface $customerRepository, Doctrine\Common\Persistence\ObjectManager $customerManager, Sylius\Component\Resource\Factory\FactoryInterface $customerFactory, Sylius\Component\Resource\Factory\FactoryInterface $userFactory ) | ||
theCustomerBelongsToGroup ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Customer\Model\CustomerGroupInterface $customerGroup ) | ||
theCustomerSubscribedToTheNewsletter ( Sylius\Component\Core\Model\CustomerInterface $customer ) | ||
theCustomerVerifiedTheirEmail ( Sylius\Component\Core\Model\CustomerInterface $customer ) | ||
theStoreHasCustomer ( $email ) | ||
theStoreHasCustomerAccountWithEmailAndPassword ( $name, $email, $password ) | ||
theStoreHasCustomerWithFirstName ( $email, $firstName ) | ||
theStoreHasCustomerWithLastName ( $email, $lastName ) | ||
theStoreHasCustomerWithNameAndEmail ( $name, $email ) | ||
theStoreHasCustomerWithNameAndRegistrationDate ( $email, $fullName, $since ) | ||
theStoreHasEnabledCustomerAccountWithPassword ( $email, $password ) | ||
thereIsAdministratorIdentifiedByEmailAndPassword ( $name, $email, $password ) | ||
thereIsDisabledCustomerAccountWithPassword ( $email, $password ) |
Method | Description | |
---|---|---|
createCustomer ( string $email, string | null $firstName = null, string | null $lastName = null, DateTime $createdAt = null ) | ||
createCustomerWithUserAccount ( string $email, string $password, boolean $enabled = true, string | null $firstName = null, string | null $lastName = null, string | null $role = null ) |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Core\Repository\CustomerRepositoryInterface $customerRepository, Doctrine\Common\Persistence\ObjectManager $customerManager, Sylius\Component\Resource\Factory\FactoryInterface $customerFactory, Sylius\Component\Resource\Factory\FactoryInterface $userFactory ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$customerRepository | Sylius\Component\Core\Repository\CustomerRepositoryInterface | |
$customerManager | Doctrine\Common\Persistence\ObjectManager | |
$customerFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$userFactory | Sylius\Component\Resource\Factory\FactoryInterface |
public theCustomerBelongsToGroup ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Customer\Model\CustomerGroupInterface $customerGroup ) | ||
$customer | Sylius\Component\Core\Model\CustomerInterface | |
$customerGroup | Sylius\Component\Customer\Model\CustomerGroupInterface |
public theCustomerSubscribedToTheNewsletter ( Sylius\Component\Core\Model\CustomerInterface $customer ) | ||
$customer | Sylius\Component\Core\Model\CustomerInterface |
public theCustomerVerifiedTheirEmail ( Sylius\Component\Core\Model\CustomerInterface $customer ) | ||
$customer | Sylius\Component\Core\Model\CustomerInterface |
public theStoreHasCustomerAccountWithEmailAndPassword ( $name, $email, $password ) |
public theStoreHasCustomerWithFirstName ( $email, $firstName ) |
public theStoreHasCustomerWithLastName ( $email, $lastName ) |
public theStoreHasCustomerWithNameAndEmail ( $name, $email ) |
public theStoreHasCustomerWithNameAndRegistrationDate ( $email, $fullName, $since ) |
public theStoreHasEnabledCustomerAccountWithPassword ( $email, $password ) |
public thereIsAdministratorIdentifiedByEmailAndPassword ( $name, $email, $password ) |
public thereIsDisabledCustomerAccountWithPassword ( $email, $password ) |