@Override
  public void execute(Context context) {
    executeForBranch(treeRootHolder.getRoot());
  }
@Test
  public void givenUpgradeEventWithTheSameSqVersion_whenStepIsExecuted_thenNothingIsPersisted() {
    when(sonarQubeVersion.get()).thenReturn(Version.parse("10.3"));
    when(dbClient.eventDao()).thenReturn(mock());
    when(dbClient.eventDao().selectSqUpgradesByMostRecentFirst(any(), any())).thenReturn(getUpgradeEvents("10.3", "10.2"));

    underTest.execute(new TestComputationStepContext());

    verifyNoMoreInteractions(eventRepository);
  }