=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -21,6 +21,7 @@ public class RecordingAlertServiceTest
/// <summary>
/// Initializes the mocked dependencies and test infrastructure required by the <see cref="RecordingAlertService"/> unit tests, including service and repository mocks, a fake HTTP context with a "TestUser" claim, and the system-under-test instance.
/// </summary>
/// <!-- aidoc:v1 sig=dee8bf2 body=ef6880f -->
[SetUp]
public void Setup()
{
@@ -88,6 +89,7 @@ public class RecordingAlertServiceTest
/// <summary>
/// Verifies that <see cref="RecordingAlertService.SaveRequest"/> does not persist a <see cref="PatientRecordingAlert"/> when the provided <see cref="ApiRequest"/> is neither a recording alert nor an ORU R01 message.
/// </summary>
/// <!-- aidoc:v1 sig=25109a2 body=153205d -->
[Test]
public async Task SaveRequest_Not_RecordingAlert_Not_ORU_R01_Return_not_insert()
{
@@ -101,6 +103,7 @@ public class RecordingAlertServiceTest
/// <summary>
/// Verifies that <see cref="RecordingAlertService.SaveRequest"/> does not insert a <see cref="PatientRecordingAlert"/> when both the patient number and point of care are null in the <see cref="ApiRequest"/>, even when the message type is "ORU_R11".
/// </summary>
/// <!-- aidoc:v1 sig=84b4d02 body=8ae3d26 -->
[Test]
public async Task SaveRequest_patientNumber_and_pointOfCare_null_Return_not_insert()
{
@@ -118,6 +121,7 @@ public class RecordingAlertServiceTest
/// <summary>
/// Verifies that the SaveRequest method does not insert a patient recording alert when the specified patient cannot be found.
/// </summary>
/// <!-- aidoc:v1 sig=67b2be6 body=931ed14 -->
[Test]
public async Task SaveRequest_Not_Find_Patient_Return_not_insert()
{
@@ -146,6 +150,7 @@ public class RecordingAlertServiceTest
/// <summary>
/// Verifies that SaveRequest inserts a new <see cref="PatientRecordingAlert"/> into the repository when the configuration observation service returns no retention actions for the given recording alert.
/// </summary>
/// <!-- aidoc:v1 sig=9d79768 body=ecbd046 -->
[Test]
public async Task SaveRequest_Alert_Return_insert()
{