/**
* @return array<array<mixed>>
*/
public static function errorDataProvider(): array
{ return [ // One shipping method blocked is expected to be switched
[ new ErrorCollection( [ new ShippingMethodChangedError('Standard', 'Express'
),
] ),
[ \
sprintf(self::SHIPPING_METHOD_CHANGED_ERROR_CONTENT, 'Standard', 'Express'
),
],
],
// All shipping methods blocked expected to stay blocked
[ new ErrorCollection( [ new ShippingMethodChangedError('Standard', 'Express'
),