public void ConfigurationTest2() { var mqtt = new MqttService(_configuration); mqtt.ConnectionStart(); InternalConfigurationTest(mqtt); mqtt.ConnectionStop(); Assert.NotNull(mqtt); }
public void ConfigurationTest(string login) { var builder = new UriBuilder(login); var mqtt = new MqttService(); mqtt.ConnectionStart(builder.Uri); mqtt.OnMessageReciver += Mqtt_OnMessageReciver; InternalConfigurationTest(mqtt); Assert.NotNull(mqtt); }