@Test
public void whenWeightIsZero_thenDoesNotChooseItem() {

    RandomWeightedChooser chooser = new RandomWeightedChooser<>(ImmutableMap.of("A", 0d, "B", 1d, "C", 1d));
    RepeatableRandom.initialiseWithFixedValue(0);
    Assertions.assertNotEquals(chooser.choose(), "A");
    RepeatableRandom.initialiseWithFixedValue(0.01);
    Assertions.assertNotEquals(chooser.choose(), "A");
}