protected function setUp() { $this->useModelSet('ecommerce'); parent::setUp(); $this->firstProduct = new ECommerceProduct(); $this->secondProduct = new ECommerceProduct(); $this->firstRelated = new ECommerceProduct(); $this->firstRelated->setName("Business"); $this->secondRelated = new ECommerceProduct(); $this->secondRelated->setName("Home"); }
protected function setUp() { $this->useModelSet('ecommerce'); parent::setUp(); $this->firstProduct = new ECommerceProduct(); $this->firstProduct->setName('Doctrine 1.x Manual'); $this->secondProduct = new ECommerceProduct(); $this->secondProduct->setName('Doctrine 2.x Manual'); $this->firstCart = new ECommerceCart(); $this->secondCart = new ECommerceCart(); }
protected function setUp() { $this->useModelSet('ecommerce'); parent::setUp(); $this->firstProduct = new ECommerceProduct(); $this->firstProduct->setName("First Product"); $this->secondProduct = new ECommerceProduct(); $this->secondProduct->setName("Second Product"); $this->firstCategory = new ECommerceCategory(); $this->firstCategory->setName("Business"); $this->secondCategory = new ECommerceCategory(); $this->secondCategory->setName("Home"); }