/** * @param int $idTypeUsage * * @return array */ public function getTypeExclusionsForTypeUsage($idTypeUsage) { return $this->productOptionFacade->getTypeExclusionsForTypeUsage($idTypeUsage); }
/** * @return void */ public function testQueryTypeExclusionsForTypeUsage() { $result = $this->facade->getTypeExclusionsForTypeUsage($this->ids['idUsageColor']); $this->assertCount(1, $result); $this->assertEquals($this->ids['idUsageSize'], $result[0]); }