### Question:
CssLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(CssPlugin.FILE_SUFFIXES_KEY); } CssLanguage(Configuration configuration); @Override String[] getFileSuffixes(); static final String KEY; }### Answer:
@Test public void test() { MapSettings settings = new MapSettings(); settings.setProperty(CssPlugin.FILE_SUFFIXES_KEY, CssPlugin.FILE_SUFFIXES_DEFVALUE); CssLanguage language = new CssLanguage(settings.asConfig()); assertThat(language.getKey()).isEqualTo("css"); assertThat(language.getName()).isEqualTo("CSS"); assertThat(language.getFileSuffixes()).containsOnly(".css", ".less", ".scss"); }