# Class ServiceConfigServiceTest

Namespace
  adas_core.Test.Services

Assembly
  adas-core.Test.dll

    [TestFixture]
    public class ServiceConfigServiceTest

Inheritance
  object
  ServiceConfigServiceTest

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

### Get_Find_Id_Return_ServiceConfig()

Verifies that the ServiceConfig service returns a ServiceConfig instance when retrieving an existing configuration by its string identifier.

    [Test]
    public Task Get_Find_Id_Return_ServiceConfig()

#### Returns

Task

### Get_Not_Find_Id_Return_ServiceConfig()

Verifies that the Get method returns a ServiceConfig when the specified id is not found by the repository's `FindById`, falling back to a lookup with any MongoDB.Bson.ObjectId.

    [Test]
    public Task Get_Not_Find_Id_Return_ServiceConfig()

#### Returns

Task

### Setup()

Initializes the test environment by creating mock instances of the service configuration repository and logger, and instantiating the ServiceConfigService under test.

    [SetUp]
    public void Setup()