public List<Entry> getEntries() {
        return new ArrayList<>(actions.values());
    }
@Test
    public void actions_with_multiple_reasons() {
        ConfigChangeActions actions = new ConfigChangeActionsBuilder().
                restart(CHANGE_MSG, CLUSTER, CLUSTER_TYPE, SERVICE_TYPE, SERVICE_NAME).
                restart(CHANGE_MSG_2, CLUSTER, CLUSTER_TYPE, SERVICE_TYPE, SERVICE_NAME).build();
        List<RestartActions.Entry> entries = actions.getRestartActions().getEntries();
        assertThat(entries.size(), is(1));
        assertThat(toString(entries.get(0)), equalTo("search.foo.searchnode:[baz][change,other change]"));
    }