You are here

public function MinQtyLessThanOrEqualMaxQtyConstraintValidatorTest::setUp in Commerce Product Bundle 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/Plugin/Validation/Constraint/MinQtyLessThanOrEqualMaxQtyConstraintValidatorTest.php, line 38

Class

MinQtyLessThanOrEqualMaxQtyConstraintValidatorTest
Test the MinQtyLessThanOrEqualMaxQty constraint validator.

Namespace

Drupal\Tests\commerce_product_bundle\Unit\Plugin\Validation\Constraint

Code

public function setUp() {
  $this->constraint = new MinQtyLessThanOrEqualMaxQtyConstraint();
  $this->validator = new MinQtyLessThanOrEqualMaxQtyConstraintValidator();
}