public void Specialty_Service_Delete_Specialty() { // Act _specialtyService.DeleteSpecialty(1); // Assert Assert.False(LocalNotification.HasNotification()); }
public void DeleteSpecialty(int id) { if (id <= 0) { RaiseNotification(nameof(id)); } if (!Notification.HasNotification()) { _service.DeleteSpecialty(id); } }