public function setUp() { parent::setUp(); /** create mocks */ /** create object to test */ $this->obj = new Change($this->mResource, $this->mRepoGeneric, Entity::class); }
public function setUp() { parent::setUp(); /** reset args. to create mock of the tested object */ $this->objArgs = [$this->mResource, $this->mRepoGeneric, Entity::class]; /** create object to test */ $this->obj = new Compress($this->mResource, $this->mRepoGeneric, Entity::class); }
protected function setUp() { parent::setUp(); /** reset args. to create mock of the tested object */ $this->objArgs = [$this->mResource, $this->mRepoGeneric, \Praxigento\Odoo\Data\Entity\Warehouse::class]; /** create object to test */ $this->obj = new BaseOdooEntityToTest($this->mResource, $this->mRepoGeneric, \Praxigento\Odoo\Data\Entity\Warehouse::class); }
protected function setUp() { parent::setUp(); /** create mocks */ $this->mManObj = $this->_mockObjectManager(); /** create object to test */ $this->obj = new Item($this->mManObj, $this->mResource, $this->mRepoGeneric); }
protected function setUp() { parent::setUp(); $this->mManObj = $this->_mockObjectManager(); /** reset args. to create mock of the tested object */ $this->objArgs = [$this->mManObj, $this->mResource, $this->mRepoGeneric]; /** create object to test */ $this->obj = new Sale($this->mManObj, $this->mResource, $this->mRepoGeneric); }
protected function setUp() { parent::setUp(); /** create object to test */ $this->obj = new Item($this->mResource, $this->mRepoGeneric); }
public function setUp() { parent::setUp(); $this->obj = new Account($this->mResource, $this->mRepoGeneric, Entity::class); }
public function setUp() { parent::setUp(); $this->mRepoAccount = $this->_mock(\Praxigento\Accounting\Repo\Entity\IAccount::class); $this->obj = new Transaction($this->mResource, $this->mRepoGeneric, $this->mRepoAccount); }
protected function setUp() { parent::setUp(); /** create object to test */ $this->obj = new ChildToTestType($this->mResource, $this->mRepoGeneric, TestTypeEntity::class); }