/**
  * When here an error occurs like "Failed asserting that 1559 matches expected 1557."
  * this test must be changed so that the sorting of the result doesn't matter or we have
  * to change the different behavoiur of mysql and postgres
  *
  * @return void
  */
 public function testQueryValueUsagesForTypeUsage()
 {
     $result = $this->facade->getValueUsagesForTypeUsage($this->ids['idUsageSize'], $this->ids['idLocale']);
     $this->assertCount(4, $result);
     $this->assertEquals('Large', $result[0]['label']);
     $this->assertEquals('199', $result[0]['price']);
     $this->assertEquals('Medium', $result[1]['label']);
     $this->assertNull($result[1]['price']);
 }
 /**
  * @param int $idProductOptionTypeUsage
  * @param int $idLocale
  *
  * @return array
  */
 public function getValueUsagesForTypeUsage($idProductOptionTypeUsage, $idLocale)
 {
     return $this->productOptionFacade->getValueUsagesForTypeUsage($idProductOptionTypeUsage, $idLocale);
 }