@Test
public void isEnabled() {

  assertThat(groovyFileSystem.hasGroovyFiles()).isFalse();
  fileSystem.add(new DefaultInputFile("", "fake.file"));
  assertThat(groovyFileSystem.hasGroovyFiles()).isFalse();
  fileSystem.add(new DefaultInputFile("", "fake.groovy").setLanguage(Groovy.KEY));
  assertThat(groovyFileSystem.hasGroovyFiles()).isTrue();
}