public function test_isProductRegisteredInMage() { /** === Test Data === */ $ODOO_ID = 21; /** === Setup Mocks === */ // $mageId = $this->getProductMageIdByOdooId($odooId); // $result = $this->_getMageIdByOdooId(EntityProduct::ENTITY_NAME, $odooId); // $items = $this->_repoBasic->getEntities($entityName, null, $where); $this->mRepoGeneric->shouldReceive('getEntities')->once(); /** === Call and asserts === */ $res = $this->obj->isProductRegisteredInMage($ODOO_ID); }