### Question:
RandomManager { public static RandomGenerator getRandom() { if (useTestSeed) { return new Well19937c(TEST_SEED); } return getUnseededRandom(); } private  RandomManager(); static RandomGenerator getRandom(); static RandomGenerator getRandom(long seed); static void useTestSeed();  }### Answer:
@Test public void testRandomState() { RandomGenerator generator = RandomManager.getRandom(); assertEquals(1553355631, generator.nextInt()); assertNotEquals(1553355631, generator.nextInt()); }
@Test public void testRandomStateWithSeed() { RandomGenerator generator = RandomManager.getRandom(1234L); assertEquals(35755635, generator.nextInt()); assertNotEquals(35755635, generator.nextInt()); }