public void UpdateIncidentType_Success_ValidRequest() { Domain.IncidentManagement.IncidentTypeDomain request = new NSI.Domain.IncidentManagement.IncidentTypeDomain { IncidentTypeId = 1, Name = "In progress", Code = "1", IsActive = true }; _incidentTypeManipulation.UpdateIncidentType(request); }
public void AddIncidentType_Success_ValidRequest() { Domain.IncidentManagement.IncidentTypeDomain request = new NSI.Domain.IncidentManagement.IncidentTypeDomain { IncidentTypeId = 1, Name = "In progress", Code = "1", IsActive = true }; int id = _incidentTypeManipulation.AddIncidentType(request); Assert.AreEqual(1, id); }