/**
* @covers \Shopware\Core\Checkout\Customer\Rule\BillingStreetRule
*
* @internal
*/
#[Package('business-ops')]
class BillingStreetRuleTest extends TestCase
{ public function testWithExactMatch(): void
{ $rule =
(new BillingStreetRule())->
assign(['streetName' => 'example street'
]);
$cart =
new Cart('test'
);
$context =
$this->
createMock(SalesChannelContext::
class);
$billing =
new CustomerAddressEntity();
$billing->
setStreet('example street'
);
$customer =
new CustomerEntity();
$customer->
setDefaultBillingAddress($billing);