Table of Contents

Class PoCMappingRepositoryTest

Namespace
adas_core.Test.Repositories
Assembly
adas-core.Test.dll
[TestFixture]
[Category("Integration")]
public class PoCMappingRepositoryTest
Inheritance
PoCMappingRepositoryTest
Inherited Members
Extension Methods

Methods

FindByKey_Find_Return_Mapping()

Verifies that finding a mapping by the key "PV1" returns a non-null result containing point of care entries with at least one associated bed.

[Test]
public Task FindByKey_Find_Return_Mapping()

Returns

Task

FindByKey_Not_Find_Return_Mapping()

Verifies that the repository's FindByKey method returns null when the provided key does not correspond to an existing entity, confirming the not-found behavior.

[Test]
public Task FindByKey_Not_Find_Return_Mapping()

Returns

Task

Init()

Performs one-time setup for integration tests by seeding the "mappings" collection with a sample PoCMapping document, where a single point of care is mapped from an original value to a new one across eleven bed entries, and initializing the PoCMappingRepository against the integration database.

[OneTimeSetUp]
public Task Init()

Returns

Task