using System; using MQTTnet.Core.Adapter; using MQTTnet.Core.Server; namespace MQTTnet.Core.Tests { public class TestMqttServerAdapter : IMqttServerAdapter { public event EventHandler ClientConnected; public void FireClientConnectedEvent(MqttClientConnectedEventArgs eventArgs) { ClientConnected?.Invoke(this, eventArgs); } public void Start(MqttServerOptions options) { } public void Stop() { } } }