@Override
    public List<Object> getParameters() {
        List<Object> result = new LinkedList<>();
        for (int i = 0; i < parameterBuilders.size(); i++) {
            result.addAll(getParameters(i));
        }
        result.addAll(genericParameterBuilder.getParameters());
        return result;
    }
@Test
    void assertGetGenericParametersWithModify() {
        GroupedParameterBuilder actual = new GroupedParameterBuilder(new LinkedList<>(), createGenericParameters());
        actual.getGenericParameterBuilder().addReplacedParameters(0, 77);
        actual.getGenericParameterBuilder().addReplacedParameters(1, 88);
        actual.getGenericParameterBuilder().addAddedParameters(0, Arrays.asList(66, -1));
        actual.getGenericParameterBuilder().addAddedParameters(2, Arrays.asList(99, 110));
        assertThat(actual.getGenericParameterBuilder().getParameters(), is(Arrays.<Object>asList(77, 66, -1, 88, 99, 110)));
    }