=== 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
@@ -29,6 +29,7 @@ public class PointOfCareServiceTests
/// Configures repository, service, cache, admission, unit, and HTTP context mocks, including a simulated authenticated user
/// and cache behavior that invokes the supplied factory directly to return the produced <see cref="PointOfCare"/> instance.
/// </summary>
/// <!-- aidoc:v1 sig=d8eb19f body=249b5e3 -->
[SetUp]
public void SetUp()
{
@@ -84,6 +85,7 @@ public class PointOfCareServiceTests
/// when invoked with a valid <see cref="ObjectId"/> whose associated admission is <c>null</c>, ensuring
/// the underlying repository's delete operation is invoked.
/// </summary>
/// <!-- aidoc:v1 sig=fbe967c body=3dbace5 -->
[Test]
public async Task Delete_ValidObjectId_DeletesPointOfCare()
{
@@ -105,6 +107,7 @@ public class PointOfCareServiceTests
/// <see cref="PointOfCare"/> instance by delegating the operation to the underlying repository.
/// </summary>
/// <returns>A <see cref="Task"/> representing the asynchronous test execution.</returns>
/// <!-- aidoc:v1 sig=ce1f679 body=430d93e -->
[Test]
public async Task Update_ValidPointOfCare_UpdatesPointOfCare()
{
@@ -122,6 +125,7 @@ public class PointOfCareServiceTests
/// <summary>
/// Verifies that <see cref="PointOfCareService.GetAll"/> returns the complete list of point of care records provided by the repository when invoked with no arguments.
/// </summary>
/// <!-- aidoc:v1 sig=1ff5b52 body=e781807 -->
[Test]
public async Task GetAll_NoArguments_ReturnsListOfPointOfCare()
{
@@ -139,6 +143,7 @@ public class PointOfCareServiceTests
/// <summary>
/// Verifies that <see cref="PointOfCareService.UpdateConfiguration"/> throws a <see cref="ConflictException"/> when invoked with a valid id and configuration, ensuring the service surfaces conflict conditions during the update operation.
/// </summary>
/// <!-- aidoc:v1 sig=1b073df body=7d7853b -->
[Test]
public void UpdateConfiguration_ValidIdAndConfiguration_InvokesRepositoryUpdateConfiguration()
{
@@ -157,6 +162,7 @@ public class PointOfCareServiceTests
/// <summary>
/// Verifies that <c>FindById</c> returns the expected <see cref="PointOfCare"/> when a valid identifier is provided.
/// </summary>
/// <!-- aidoc:v1 sig=8808d2e body=a1b38fe -->
[Test]
public async Task FindById_ValidId_ReturnsPointOfCare()
{
@@ -196,6 +202,7 @@ public class PointOfCareServiceTests
/// <summary>
/// Verifies that <see cref="PointOfCareService.FindByUnitAndStatus"/> returns the expected list of point-of-care records when invoked with a valid unit identifier and status.
/// </summary>
/// <!-- aidoc:v1 sig=dda43eb body=2469c00 -->
[Test]
public async Task FindByUnitAndStatus_ValidUnitIdAndStatus_ReturnsListOfPointOfCare()
{
@@ -300,6 +307,7 @@ public class PointOfCareServiceTests
/// <summary>
/// Tests that the service's FindByRoom method, when called with a valid room, returns the collection provided by the repository and invokes the repository's FindByRoom exactly once.
/// </summary>
/// <!-- aidoc:v1 sig=89ccc77 body=dd6415f -->
[Test]
public async Task FindByRoom_ValidRoom_CallsRepositoryFindByRoom()
{
@@ -319,6 +327,7 @@ public class PointOfCareServiceTests
/// <summary>
/// Verifies that the <see cref="PointOfCareService.FindByBed"/> method correctly delegates to the repository's FindByBed method when a valid bed identifier is provided, returning the expected collection of point of care records.
/// </summary>
/// <!-- aidoc:v1 sig=28d655e body=0851f2e -->
[Test]
public async Task FindByBed_ValidBed_CallsRepositoryFindByBed()
{