/**
* @covers \Shopware\Core\Checkout\Customer\Rule\BillingCountryRule
*
* @internal
*/
#[Package('business-ops')]
class BillingCountryRuleTest extends TestCase
{ public function testWithExactMatch(): void
{ $rule =
(new BillingCountryRule())->
assign(['countryIds' =>
['SWAG-AREA-COUNTRY-ID-1'
]]);
$cart =
new Cart('test'
);
$context =
$this->
createMock(SalesChannelContext::
class);
$country =
new CountryEntity();
$country->
setId('SWAG-AREA-COUNTRY-ID-1'
);
$billing =
new CustomerAddressEntity();
$billing->
setCountry($country);