'customerId' =>
$customerId,
'email' => 'test@example.com',
'salutationId' =>
$this->
getValidSalutationId(),
'firstName' => 'Max',
'lastName' => 'Mustermann',
]) ->
add('stateId',
$stateId) ->
add('paymentMethodId',
$paymentMethodId) ->
add('currencyId', Defaults::CURRENCY
) ->
add('currencyFactor', 1.0
) ->
add('salesChannelId', TestDefaults::SALES_CHANNEL
) ->
addAddress('address',
[ 'id' =>
$addressId,
'salutationId' =>
$this->
getValidSalutationId(),
'firstName' => 'Max',
'lastName' => 'Mustermann',
'street' => 'Ebbinghoff 10',
'zipcode' => '48624',
'city' => 'Schöppingen',
'countryId' =>
$this->
getValidCountryId(),
]) ->
add('billingAddressId',
$addressId) ->
add('shippingAddressId',
$addressId)