### Question:
DefaultRandomNumberGenerator implements RandomNumberGenerator { public int generate (int max) { return mRandom.nextInt (max); } DefaultRandomNumberGenerator(); int generate(int max);  }### Answer:
@Test public void testGenerate () { assertEquals(0, new DefaultRandomNumberGenerator ().generate (1)); }