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

  OsSecureRandom random = getOsSecureRandom();
  
  int rand1 = random.nextInt();
  int rand2 = random.nextInt();
  while (rand1 == rand2) {
    rand2 = random.nextInt();
  }
  random.close();
}