### Question:
RubyLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { String[] suffixes = configuration.getStringArray(RubyPlugin.RUBY_FILE_SUFFIXES_KEY); if (suffixes == null || suffixes.length == 0) { suffixes = RubyPlugin.RUBY_FILE_SUFFIXES_DEFAULT_VALUE.split(","); } return suffixes; } RubyLanguage(Configuration configuration); @Override String[] getFileSuffixes();  }### Answer:
@Test public void test_suffixes_default() { RubyLanguage rubyLanguage = new RubyLanguage(new MapSettings().asConfig()); assertThat(rubyLanguage.getFileSuffixes()).containsExactly(".rb"); }
@Test public void test_suffixes_empty() { RubyLanguage rubyLanguage = new RubyLanguage(new MapSettings().setProperty(RubyPlugin.RUBY_FILE_SUFFIXES_KEY, "").asConfig()); assertThat(rubyLanguage.getFileSuffixes()).containsExactly(".rb"); }