@Ignore
@Test
public void writeAlert() throws Exception {

    ElasticsearchPlugin plugin = new ElasticsearchPlugin();
    Alert openAlert = JvmGarbageCollectionData.getOpenAlert();
    Action openAction = new Action(openAlert.getTriggerId(), "elastic-search", "action1", openAlert);
    openAction.setProperties(plugin.getDefaultProperties());
    openAction.getProperties().put("url", "https://logging-es:9200");
    plugin.writeAlert(openAction);
}