((ShufflingValueSelector) valueSelector).getChildValueSelector());
}
@Test(expected = IllegalArgumentException.class)
public void justInTimeShuffled() {
SolutionDescriptor solutionDescriptor = TestdataSolution.buildSolutionDescriptor();
PlanningEntityDescriptor entityDescriptor = solutionDescriptor.getPlanningEntityDescriptor(TestdataEntity.class);
ValueSelectorConfig valueSelectorConfig = new ValueSelectorConfig();
valueSelectorConfig.setCacheType(SelectionCacheType.JUST_IN_TIME);
valueSelectorConfig.setSelectionOrder(SelectionOrder.SHUFFLED);
ValueSelector valueSelector = valueSelectorConfig.buildValueSelector(
EnvironmentMode.REPRODUCIBLE, solutionDescriptor, entityDescriptor,