using ZB.MOM.WW.MxGateway.Worker.Sta;

namespace ZB.MOM.WW.MxGateway.Worker.Tests.TestSupport;

/// <summary>
/// Shared no-operation <see cref="IStaComApartmentInitializer"/> for tests that
/// construct an <see cref="StaRuntime"/> without a real COM apartment. Replaces
/// the per-file copies that were previously defined independently in
/// StaCommandDispatcherTests, MxAccessStaSessionTests, and MxAccessCommandExecutorTests.
/// </summary>
internal sealed class NoopComApartmentInitializer : IStaComApartmentInitializer
{
    /// <inheritdoc />
    public void Initialize()
    {
    }

    /// <inheritdoc />
    public void Uninitialize()
    {
    }
}
