public async void GetAsync_GivenKnownId_ShouldReturnIncidentData(string incidentId) { var testObject = new IncidentFileRepository(); var result = await testObject.GetAsync(incidentId); Assert.Equal(incidentId, result.Id); }
public async void GetAsync_GivenUnknownId_ShouldReturnEmptyIncident(string incidentId) { var testObject = new IncidentFileRepository(); var result = await testObject.GetAsync(incidentId); Assert.Null(result.Id); }