public function testGetAllCatalogPromotions()
 {
     $originalCatalogPromotion = $this->setupCatalogPromotion();
     $catalogPromotions = $this->catalogPromotionRepository->getAllCatalogPromotions('Test');
     $this->assertEquals($originalCatalogPromotion->getId(), $catalogPromotions[0]->getId());
 }
 /**
  * @param string $queryString
  * @param Pagination $pagination
  * @return CatalogPromotion[]
  */
 public function getAllCatalogPromotions($queryString = null, Pagination &$pagination = null)
 {
     return $this->catalogPromotionRepository->getAllCatalogPromotions($queryString, $pagination);
 }