MQTTNotificationStrategy implements NotificationStrategy { @Override public void undeploy() { MQTTDataHolder.getInstance().getOutputEventAdapterService().destroy(mqttAdapterName); } MQTTNotificationStrategy(PushNotificationConfig config); @Override void init(); @Override void execute(NotificationContext ctx); @Override NotificationContext buildContext(); @Override void undeploy(); @Override PushNotificationConfig getConfig();  }
@Test(description = "testing un-deploy method") public void testUndeploy() { mqttNotificationStrategy.undeploy(); }