public void DeleteTest()
        {
            VerifyExists();
            long id    = MaintanceDetails.GetId(_databasePath, _maintenanceDetailsName, _gunId, _maintenanceDetailsPlanId, _maintenanceDetailsOperationDate, _maintenanceDetailsOperationDueDate, out _errOut);
            bool value = MaintanceDetails.Delete(_databasePath, id, out _errOut);

            General.HasTrueValue(value, _errOut);
        }
        public void GetIdTest()
        {
            VerifyExists();
            long id = MaintanceDetails.GetId(_databasePath, _maintenanceDetailsName, _gunId, _maintenanceDetailsPlanId, _maintenanceDetailsOperationDate, _maintenanceDetailsOperationDueDate, out _errOut);

            TestContext.WriteLine($"id: {id}");
            General.HasTrueValue(id > 0, _errOut);
        }
 /// <summary>
 /// Verifies the doesnt exist.
 /// </summary>
 private void VerifyDoesntExist()
 {
     if (MaintanceDetails.Exists(_databasePath, _maintenanceDetailsName, _gunId, _maintenanceDetailsPlanId, _maintenanceDetailsOperationDate, _maintenanceDetailsOperationDueDate, out _errOut))
     {
         long value = MaintanceDetails.GetId(_databasePath, _maintenanceDetailsName, _gunId, _maintenanceDetailsPlanId, _maintenanceDetailsOperationDate, _maintenanceDetailsOperationDueDate, out _errOut);
         MaintanceDetails.Delete(_databasePath, value, out _errOut);
     }
 }
        public void GetNameTest()
        {
            VerifyExists();
            long   id   = MaintanceDetails.GetId(_databasePath, _maintenanceDetailsName, _gunId, _maintenanceDetailsPlanId, _maintenanceDetailsOperationDate, _maintenanceDetailsOperationDueDate, out _errOut);
            string name = MaintanceDetails.GetName(_databasePath, id, out _errOut);

            TestContext.WriteLine($"Name: {name}");
            General.HasTrueValue(name.Length > 0, _errOut);
        }