MQTTNotificationStrategy implements NotificationStrategy { @Override public PushNotificationConfig getConfig() { return config; } MQTTNotificationStrategy(PushNotificationConfig config); @Override void init(); @Override void execute(NotificationContext ctx); @Override NotificationContext buildContext(); @Override void undeploy(); @Override PushNotificationConfig getConfig();  }
@Test(dependsOnMethods = {"getNotificationStrategy"}, description = "Testing getConfig method") public void getConfigTest() { PushNotificationConfig temp = mqttNotificationStrategy.getConfig(); Assert.assertEquals(temp, pushNotificationConfig, "Not matching pushNotificationConfig received"); }