@Override
  public void execute(Context context) {
    executeForBranch(treeRootHolder.getRoot());
  }
@Test
  public void execute_whenAnalyzerChangedAndLanguageNotSupported_shouldSkipRaisingEvent() {
    QualityProfile qp1 = qp(QP_NAME_1, LANGUAGE_KEY_1, new Date());

    mockLanguageInRepository(LANGUAGE_KEY_1);
    when(measureRepository.getBaseMeasure(treeRootHolder.getRoot(), qualityProfileMetric)).thenReturn(Optional.of(newMeasure()));
    when(measureRepository.getRawMeasure(treeRootHolder.getRoot(), qualityProfileMetric)).thenReturn(Optional.of(newMeasure(qp1)));

    when(analysisMetadataHolder.getScannerPluginsByKey()).thenReturn(Collections.emptyMap());
    when(analysisMetadataHolder.getBaseAnalysis()).thenReturn(new Analysis.Builder().setUuid("uuid").setCreatedAt(1L).build());

    underTest.execute(new TestComputationStepContext());

    verifyNoMoreInteractions(eventRepository);
  }