class CartShippingCostRuleTest extends TestCase
{ use CartRuleHelperTrait;
private CartShippingCostRule
$rule;
protected function setUp(): void
{ $this->rule =
new CartShippingCostRule();
} /**
* @dataProvider getRuleTestData
*/
public function testIfMatchesCorrectWithShippingCosts( CartShippingCostRule
$rule,
CalculatedPrice
$calculatedPrice,
bool
$expected ): void
{ $cart =
$this->
createCartDummyWithShippingCosts($calculatedPrice);