/// <summary> /// Verifies the doesnt exist. /// </summary> private void VerifyDoesntExist() { if (Classification.Exists(_databasePath, _classificationName, out _errOut)) { long id = Classification.GetId(_databasePath, _classificationName, out _errOut); Classification.Delete(_databasePath, id, out _errOut); } }
public void DeleteTest() { VerifyExists(); long id = Classification.GetId(_databasePath, _classificationName, out _errOut); bool value = Classification.Delete(_databasePath, id, out _errOut); General.HasTrueValue(value, _errOut); }