public function test_registerCategory() { /** === Test Data === */ $ODOO_ID = 21; $MAGE_ID = 43; /** === Setup Mocks === */ // $this->_registerMageIdForOdooId(EntityCategory::ENTITY_NAME, $mageId, $odooId); // $this->_repoBasic->addEntity($entityName, $bind); $this->mRepoGeneric->shouldReceive('addEntity')->once(); /** === Call and asserts === */ $res = $this->obj->registerCategory($MAGE_ID, $ODOO_ID); }