#[Package('business-ops')]
class CartVolumeRuleTest extends TestCase
{ use CartRuleHelperTrait;
use IntegrationTestBehaviour;
private CartVolumeRule
$rule;
protected function setUp(): void
{ $this->rule =
new CartVolumeRule();
} /**
* @dataProvider getMatchingRuleTestData
*/
public function testIfMatchesCorrect( string
$operator,
float
$volume,
bool
$expected ): void
{ $this->rule->
assign(['volume' =>
$volume, 'operator' =>
$operator]);