public function testTagDoesNotMatchByQuantity() { $tag1 = $this->dummyData->getTag(); $product1 = $this->dummyData->getProduct(); $product1->addTag($tag1); $cartItem = $this->dummyData->getCartItem($product1, 1); $priceRule = new CartPriceRuleTagItem($tag1, 2); $this->assertFalse($priceRule->matches($cartItem)); }