using Shouldly;
using Xunit;
using ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware;

namespace ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware.Tests;

/// <summary>
///     Smoke test confirming the sidecar project links and the test project resolves a
///     ProjectReference to it. Real behavioural tests arrive in PR 3.2 (backend lift) and
///     PR 3.3 (pipe server). For PR 3.1 we just verify the assembly identity is what the
///     csproj declares.
/// </summary>
public class ProgramSmokeTests
{
    /// <summary>Verifies that the Program assembly has the expected name.</summary>
    [Fact]
    public void Program_Assembly_HasExpectedName()
    {
        typeof(Program).Assembly.GetName().Name
            .ShouldBe("OtOpcUa.Driver.Historian.Wonderware");
    }
}
