@Test
public void shouldSplitActions() {

    // when
    task.run();
    // then
    final List<PreparationActions> prepActionsList =
            repository.list(PreparationActions.class).collect(Collectors.toList());
    int actionUpdated = 0;
    int actionNotUpdated = 0;
    for (PreparationActions prepActions : prepActionsList) {
        for (Action action : prepActions.getActions()) {
            if (REPLACE_CELL_VALUE.equals(action.getName())) {
                final Map<String, String> parameters = action.getParameters();
                assertTrue(parameters.containsKey("new_value"));
                assertTrue(parameters.containsKey("original_value"));
                assertFalse(parameters.containsKey(CELL_VALUE));
                assertFalse(parameters.containsKey(REPLACE_VALUE));
                actionUpdated++;
            } else {
                actionNotUpdated++;
            }
        }
    }
    assertEquals(1, actionUpdated);
    assertEquals(33, actionNotUpdated);
}