MigrateActionsParameters extends BaseUpgradeTaskTo_2_3_0_PE { @Override public void run() { ActionNewColumnToggleCommon.upgradeActions(preparationRepository); }  @Override void run(); @Override int getOrder(); @Override target getTarget();  }
@Test public void shouldAddCreateNewColumnParameter() { task.run(); Optional<Action> numericOpsAction = preparationRepository .list(PreparationActions.class) .filter(pa -> pa.getId().equals("cde7e7f945afe3e7e39cb26b00705c7464ba6d3a")) .flatMap(a -> a.getActions().stream()) .filter(a -> "numeric_ops".equals(a.getName())) .findFirst(); assertTrue(numericOpsAction.isPresent()); assertEquals(TRUE.toString(), numericOpsAction.get().getParameters().get(CREATE_NEW_COLUMN)); }