@Test
public void testExtensions() {

  GroovyPlugin plugin = new GroovyPlugin();
  Plugin.Context context = new Plugin.Context(SonarQubeVersion.V5_6);
  plugin.define(context);
  assertThat(context.getExtensions()).hasSize(17);
}