# Class DiagnosisArchiveRepositoryTest

Namespace
  adas_core.Test.Repositories

Assembly
  adas-core.Test.dll

    [TestFixture]
    [Category("Integration")]
    public class DiagnosisArchiveRepositoryTest

Inheritance
  object
  DiagnosisArchiveRepositoryTest

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## 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