using ZB.MOM.WW.MxGateway.Contracts.Proto;
using ZB.MOM.WW.MxGateway.Server.Dashboard.Hubs;
namespace ZB.MOM.WW.MxGateway.Tests.TestSupport;
///
/// that drops every event on the floor.
/// Used by tests that need to wire up EventStreamService but do not care
/// about the dashboard fan-out side-channel. The singleton
/// mirrors the Tests-007 / Tests-021 shared-fake pattern under
/// src/ZB.MOM.WW.MxGateway.Tests/TestSupport/.
///
public sealed class NullDashboardEventBroadcaster : IDashboardEventBroadcaster
{
/// Shared instance for tests that do not need to inspect broadcaster state.
public static readonly NullDashboardEventBroadcaster Instance = new();
private NullDashboardEventBroadcaster()
{
}
///
public void Publish(string sessionId, MxEvent mxEvent)
{
}
}