@Test
public void getExtensions() {

  SonarRuntime runtime = mock(SonarRuntime.class);
  Plugin.Context context = new Plugin.Context(runtime);
  new GitPlugin().define(context);
  assertThat(context.getExtensions()).hasSize(3);
}