@Test
public void test() {

  Settings settings = new Settings();
  Groovy language = new Groovy(settings);
  assertThat(language.getKey()).isEqualTo("grvy");
  assertThat(language.getName()).isEqualTo("Groovy");
  assertThat(language.getFileSuffixes()).isEqualTo(new String[] {".groovy"});
  settings.setProperty(GroovyPlugin.FILE_SUFFIXES_KEY, "");
  assertThat(language.getFileSuffixes()).containsOnly(".groovy");
  settings.setProperty(GroovyPlugin.FILE_SUFFIXES_KEY, ".groovy, .grvy");
  assertThat(language.getFileSuffixes()).containsOnly(".groovy", ".grvy");
}