assertEquals(SelectionCacheType.STEP, valueSelector.getCacheType());
}
@Test(expected = IllegalArgumentException.class)
public void justInTimeShuffled() {
HeuristicConfigPolicy configPolicy = buildHeuristicConfigPolicy();
EntityDescriptor entityDescriptor = configPolicy.getSolutionDescriptor()
.findEntityDescriptorOrFail(TestdataEntity.class);
ValueSelectorConfig valueSelectorConfig = new ValueSelectorConfig();
valueSelectorConfig.setCacheType(SelectionCacheType.JUST_IN_TIME);
valueSelectorConfig.setSelectionOrder(SelectionOrder.SHUFFLED);
ValueSelector valueSelector = valueSelectorConfig.buildValueSelector(