# Class ObservationArchiveRepositoryTest | ADAS

# Class ObservationArchiveRepositoryTest

Namespace
  adas_core.Test.Repositories

Assembly
  adas-core.Test.dll

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

Inheritance
  object
  ObservationArchiveRepositoryTest

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` method removes all patient observations dated before the specified cutoff, leaving only a single observation remaining in the collection.

    [Test]
    public Task DeleteBeforeDate()

#### Returns

Task

### Init()

    [OneTimeSetUp]
    public Task Init()

#### Returns

Task