@Test(description = "test get notification strategy method")
public void getNotificationStrategy() {

    Map<String, String> properties = new HashMap<>();
    properties.put(MQTTAdapterConstants.MQTT_ADAPTER_PROPERTY_BROKER_URL, BROKER_URL);
    properties.put(MQTTAdapterConstants.MQTT_ADAPTER_PROPERTY_NAME, ADAPTER_NAME);
    PushNotificationConfig pushNotificationConfig = new PushNotificationConfig("MQTT", true, properties);
    MQTTDataHolder mqttDataHolder = MQTTDataHolder.getInstance();
    mqttDataHolder.setOutputEventAdapterService(carbonOutputEventAdapterService);
    NotificationStrategy notificationStrategy = mqttBasedPushNotificationProvider.
            getNotificationStrategy(pushNotificationConfig);
    Assert.assertNotNull(notificationStrategy, "null notificationStrategyReceived");
}