->
defaultBillingAddress('address',
[ 'id' =>
$addressId,
'customerId' =>
$customerId,
'countryId' =>
$this->
getValidCountryId(),
'salutationId' =>
$this->
getValidSalutationId(),
'firstName' => 'Max',
'lastName' => 'Mustermann',
'street' => 'Ebbinghoff 10',
'zipcode' => '48624',
'city' => 'Schöppingen',
]) ->
customerGroup(TestDefaults::FALLBACK_CUSTOMER_GROUP
) ->
build();
$this->customerRepository->
upsert([$customer],
$this->context
);
return $customerId;
} protected function createOrder(string
$paymentMethodId): string
{ $orderId =
$this->ids->
get('order'
);
$addressId =
$this->ids->
get('address'
);