public void TestDeleteDepartments() { var f = new DepartmentList(); int id = GlobalItems.getKey("departments", "name", "Biologia"); if (id > 0) { f.delete_department(id.ToString()); Assert.IsFalse(GlobalItems.checkItemsInDB("departments", "name", "Biologia")); } }