Example #1
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     parent::setUp();
     Shopware()->Models()->clear();
     $this->resourceArticle = new \Shopware\Components\Api\Resource\Article();
     $this->resourceArticle->setAcl(Shopware()->Acl());
     $this->resourceArticle->setManager(Shopware()->Models());
 }