using ZB.MOM.WW.MxGateway.Contracts;

namespace ZB.MOM.WW.MxGateway.Client.Tests;

public sealed class MxGatewayClientContractInfoTests
{
    /// <summary>Verifies that the client's gateway protocol version matches the shared contract definition.</summary>
    [Fact]
    public void GatewayProtocolVersion_MatchesSharedContract()
    {
        Assert.Equal(
            GatewayContractInfo.GatewayProtocolVersion,
            MxGatewayClientContractInfo.GatewayProtocolVersion);
    }

    /// <summary>Verifies that the client's worker protocol version matches the shared contract definition.</summary>
    [Fact]
    public void WorkerProtocolVersion_MatchesSharedContract()
    {
        Assert.Equal(
            GatewayContractInfo.WorkerProtocolVersion,
            MxGatewayClientContractInfo.WorkerProtocolVersion);
    }
}
