title: Set seed on Math.random()
body: <p>I need to write some junit tests on Java code that calls <code>Math.random()</code>.  I know that I can set the seed if I was instantiating my own Random object to produce repeatable results. Is there a way to do this also for <code>Math.random()</code> ?</p>