$customerId =
$this->ids->
get('customer'
);
$addressId =
$this->ids->
get('address'
);
$customer =
(new CustomerBuilder($this->ids, '1337'
)) ->
firstName('Max'
) ->
lastName('Mustermann'
) ->
add('id',
$this->ids->
get('customer'
)) ->
add('email', Uuid::
randomHex() . '@example.com'
) ->
add('salesChannelId', TestDefaults::SALES_CHANNEL
) ->
add('password', 'shopware'
) ->
add('defaultPaymentMethodId',
$this->
getValidPaymentMethodId()) ->
defaultShippingAddress('address'
) ->
defaultBillingAddress('address',
[ 'id' =>
$addressId,
'customerId' =>
$customerId,
'countryId' =>
$this->
getValidCountryId(),
'salutationId' =>
$this->
getValidSalutationId(),
'firstName' => 'Max',
'lastName' => 'Mustermann',
'street' => 'Ebbinghoff 10',
'zipcode' => '48624',
'city' => 'Schöppingen',
])