# Class ServiceConfigRepositoryTest

Namespace
  adas_core.Test.Repositories

Assembly
  adas-core.Test.dll

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

Inheritance
  object
  ServiceConfigRepositoryTest

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

### FindById_Find_ObjectId()

Verifies that the repository's FindById method successfully retrieves an object by its identifier, returning a non-null result whose Id matches the requested identifier.

    [Test]
    public Task FindById_Find_ObjectId()

#### Returns

Task

### FindById_Find_string()

Verifies that adas_core.Test.Repositories.ServiceConfigRepositoryTest._repository.FindById returns a non-null entity when queried by its string identifier, and that the returned entity's `StrId` matches the supplied id.

    [Test]
    public Task FindById_Find_string()

#### Returns

Task

### Init()

Performs one-time initialization for integration tests by creating a ServiceConfig entry in the test database and preparing the repository used by the test fixture.

    [OneTimeSetUp]
    public Task Init()

#### Returns

Task