$currency =
$currency ?:
(new CurrencyEntity())->
assign([ 'id' => '4c8eba11bd3546d786afbed481a6e665',
'factor' => 1,
]);
$currency->
setFactor(1
);
if (!
$currentCustomerGroup) { $currentCustomerGroup =
new CustomerGroupEntity();
$currentCustomerGroup->
setId(TestDefaults::FALLBACK_CUSTOMER_GROUP
);
$currentCustomerGroup->
setDisplayGross(true
);
} if (!
$taxes) { $tax =
new TaxEntity();
$tax->
setId('4926035368e34d9fa695e017d7a231b9'
);
$tax->
setName('test'
);
$tax->
setTaxRate(19.0
);
$taxes =
new TaxCollection([$tax]);
}