@Test(expected = IllegalArgumentException.class)
public void should_not_compute_entropy_for_a_value_with_frequency_of_zero() {

    // given
    List frequencies = Arrays.asList(0.25, 0.25, 0.25, 0.0);
    // when
    ShannonEntropy.computeWithFrequencies(frequencies);
    // then
}