class BlockedShippingMethodSwitcherTest extends TestCase
{ private ShippingMethodCollection
$shippingMethodCollection;
private SalesChannelContext
$salesChannelContext;
private BlockedShippingMethodSwitcher
$switcher;
protected function setUp(): void
{ $this->shippingMethodCollection =
new ShippingMethodCollection([ (new ShippingMethodEntity())->
assign([ 'id' => 'original-shipping-method-id',
'name' => 'original-shipping-method-name',
'translated' =>
['name' => 'original-shipping-method-name'
],
]),
(new ShippingMethodEntity())->
assign([ 'id' => 'any-other-shipping-method-id',
'name' => 'any-other-shipping-method-name',
'translated' =>
['name' => 'any-other-shipping-method-name'
],
]),
(new ShippingMethodEntity())->
assign([ 'id' => 'default-shipping-method-id',