JdkRNG implements IRandomNumberGenerator { @Override public JdkRNG synchronize() { return this; } JdkRNG(Random random); static JdkRNG newRandom(); static JdkRNG newRandom(long seed); Random getRandom(); @Override double nextDouble(); @Override int nextInt(); @Override long nextLong(); @Override boolean nextBoolean(); @Override float nextFloat(); @Override int nextInt(int n); @Override JdkRNG synchronize();  }
@Test public void testSynchronize() { assertSameSynchronized(createRNG()); }