# Class ConfigPumpsRepositoryTest

Namespace
  adas_core.Test.Repositories

Assembly
  adas-core.Test.dll

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

Inheritance
  object
  ConfigPumpsRepositoryTest

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

### FindAsync_not_Find_id_Return_Empty_List()

Verifies that the repository's FindById method returns null when no entity is found for the specified identifier.

    [Test]
    public Task FindAsync_not_Find_id_Return_Empty_List()

#### Returns

Task

### FindById_Find_id_Return_List()

Verifies that FindById(string) returns a non-null result when searching by the identifier "PV1".

    [Test]
    public Task FindById_Find_id_Return_List()

#### Returns

Task

### Init()

Initializes the integration test environment by recreating the config_pumps collection and inserting a single configuration pump containing two empty items for use by subsequent tests.

    [OneTimeSetUp]
    public Task Init()

#### Returns

Task

### Insert_PumpConfig_returns2()

Tests that inserting a new pump configuration with two items increases the total configuration count to two, that the inserted configuration can be retrieved by its identifier, and that the inserted configuration can be successfully deleted.

    [Test]
    public Task Insert_PumpConfig_returns2()

#### Returns

Task