@Test
public void shouldInsertLightParameterEntriesIntoIndexWhenParameterHasNoIdentifyEntriesFlagSet() {

    // given
    Level[] levels = new Level[]{
        level().withName("outputLevel").withType("type").build()
    };
    ParameterEntry[] entries = new ParameterEntry[]{
        parameterEntry().withLevels("hello").build()
    };
    Parameter parameter = parameter().withName("param").withInputLevels(0)
            .withLevels(levels).withEntries(entries).build();
    when(levelPreparer.prepare(any(Level.class))).thenReturn(preparedLevel().build()).thenReturn(preparedLevel().withName("outputLevel").build());
    // when
    PreparedParameter preparedParameter = paramPreparer.prepare(new ParameterFromRepository(parameter, RepositoryName.from("test")));
    // then
    FastLevelIndexWalker<PreparedEntry> walker = new FastLevelIndexWalker<PreparedEntry>(preparedParameter.getIndex());
    assertThat(walker.find().get(0)).isExactlyInstanceOf(PreparedEntry.class);
}