@Test
public void randomSelection() {
ArrayList<MoveSelector> childMoveSelectorList = new ArrayList<MoveSelector>();
Map<Selector, Double> fixedProbabilityWeightMap = new HashMap<Selector, Double>();
childMoveSelectorList.add(SelectorTestUtils.mockMoveSelector(DummyMove.class,
new DummyMove("a1"), new DummyMove("a2"), new DummyMove("a3")));
fixedProbabilityWeightMap.put(childMoveSelectorList.get(0), 1000.0);
childMoveSelectorList.add(SelectorTestUtils.mockMoveSelector(DummyMove.class,
new DummyMove("b1"), new DummyMove("b2")));
fixedProbabilityWeightMap.put(childMoveSelectorList.get(1), 20.0);
UnionMoveSelector moveSelector = new UnionMoveSelector(childMoveSelectorList, true,
new FixedSelectorProbabilityWeightFactory(fixedProbabilityWeightMap));
Random workingRandom = mock(Random.class);