title: How to unit-test the behavior of 'randomly' choosing one value?
body: <p>I have a function which is expected to <em>randomly</em> return one value from a collection of values. Is there a good way to test this random behavior with unit-test tools like JUnit etc.?</p>