@Test(timeout=120000)
public void testRandomDouble() throws Exception {

  OsSecureRandom random = getOsSecureRandom();
  
  double rand1 = random.nextDouble();
  double rand2 = random.nextDouble();
  while (rand1 == rand2) {
    rand2 = random.nextDouble();
  }
  random.close();
}