//Tests the setParentTOSon method public void Test3() { CategoriesStorageImp ss = new CategoriesStorageImp(); Console.WriteLine("[] Trying to set the category : \"f9e26230-6da1-4e60-9c88-dc4eaa87f9da\" ..."); Console.WriteLine(" As a parent to the category: \"75d7e9f8-a1aa-49eb-8ec6-274e8036f3f5\""); ss.setParentToSon("f9e26230-6da1-4e60-9c88-dc4eaa87f9da", "75d7e9f8-a1aa-49eb-8ec6-274e8036f3f5"); Console.WriteLine(" - PASSED -"); }
/** * This method link between the parent node and it's son */ public void setParentToSon(String parentID, String sonID) { _categoriesStorageImp.setParentToSon(parentID, sonID); }