Table of Contents

Class DiagnosisArchiveRepositoryTest

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

Methods

DeleteBeforeDate()

Verifies that the repository's DeleteBeforeDate operation correctly removes all records for a given patient that were created before the specified cutoff date, while preserving records created on or after that date.

[Test]
public Task DeleteBeforeDate()

Returns

Task

Init()

Initializes the test fixture by creating sample patient diagnosis records, resetting the archive collection in the integration database, and configuring the diagnosis archive repository used by the test suite.

[OneTimeSetUp]
public Task Init()

Returns

Task