/**
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $discounts = SpyDiscountQuery::create()->find();
     foreach ($discounts as $discountEntity) {
         $discountEntity->setIsActive(false);
         $discountEntity->save();
     }
 }
 /**
  * @return \Orm\Zed\Discount\Persistence\SpyDiscountQuery
  */
 public function createDiscountQuery()
 {
     return SpyDiscountQuery::create();
 }