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

  OsSecureRandom random = getOsSecureRandom();
  
  long rand1 = random.nextLong();
  long rand2 = random.nextLong();
  while (rand1 == rand2) {
    rand2 = random.nextLong();
  }
  random.close();
}