/**
* @covers \Shopware\Core\Checkout\Customer\Rule\DifferentAddressesRule
*
* @internal
*/
#[Package('business-ops')]
class DifferentAddressesRuleTest extends TestCase
{ public function testRuleMatch(): void
{ $rule =
new DifferentAddressesRule();
$cart =
new Cart('test'
);
$context =
$this->
createMock(SalesChannelContext::
class);
$billing =
new CustomerAddressEntity();
$billing->
setId('SWAG-CUSTOMER-ADDRESS-ID-1'
);
$shipping =
new CustomerAddressEntity();
$shipping->
setId('SWAG-CUSTOMER-ADDRESS-ID-2'
);