/**
  * @return void
  */
 public function testQueryValueConstraintsForValueUsageByOperator()
 {
     $result = $this->facade->getValueConstraintsForValueUsageByOperator($this->ids['idUsageGreen'], 'ALLOW');
     $this->assertCount(2, $result);
     $this->assertEquals($this->ids['idUsageSmall'], $result[1]);
     $this->assertEquals($this->ids['idUsageLarge'], $result[0]);
     $result = $this->facade->getValueConstraintsForValueUsageByOperator($this->ids['idUsageGreen'], 'NOT');
     $this->assertEmpty($result);
 }
 /**
  * @param int $idValueUsage
  * @param string $operator
  *
  * @return array
  */
 public function getValueConstraintsForValueUsageByOperator($idValueUsage, $operator)
 {
     return $this->productOptionFacade->getValueConstraintsForValueUsageByOperator($idValueUsage, $operator);
 }