class BlockedPaymentMethodSwitcherTest extends TestCase
{ private PaymentMethodCollection
$paymentMethodCollection;
private SalesChannelContext
$salesChannelContext;
private BlockedPaymentMethodSwitcher
$switcher;
protected function setUp(): void
{ $this->paymentMethodCollection =
new PaymentMethodCollection([ (new PaymentMethodEntity())->
assign([ 'id' => 'original-payment-method-id',
'name' => 'original-payment-method-name',
'translated' =>
['name' => 'original-payment-method-name'
],
]),
(new PaymentMethodEntity())->
assign([ 'id' => 'any-other-payment-method-id',
'name' => 'any-other-payment-method-name',
'translated' =>
['name' => 'any-other-payment-method-name'
],
]),
(new PaymentMethodEntity())->
assign([