### Question:
EmailAlertPlugin implements AlertPlugin { @Override public PluginName getName() { return pluginName; } EmailAlertPlugin(); @Override String getId(); @Override PluginName getName(); @Override @SuppressWarnings("unchecked") Map<String, Object> process(AlertInfo info);  }### Answer:
@Test public void getName() { PluginName pluginName = plugin.getName(); assertEquals(Constants.PLUGIN_DEFAULT_EMAIL_CH, pluginName.getChinese()); assertEquals(Constants.PLUGIN_DEFAULT_EMAIL_EN, pluginName.getEnglish()); }