RandomInitialiser implements CreationOperation, Stochastic { public RandomNumberGenerator getRNG() { return this.rng; } RandomInitialiser(RandomNumberGenerator rng, GEGrammar g, int initChromSize);  RandomInitialiser(RandomNumberGenerator rng, GEGrammar g, Properties p); void setProperties(Properties p); RandomNumberGenerator getRNG(); void setRNG(RandomNumberGenerator rng); Individual createIndividual(); void doOperation(Individual operand); void doOperation(List<Individual> operands);  }
@Test public void testGetRNG() { System.out.println("getRNG"); RandomNumberGenerator result = ri1.getRNG(); assertEquals(true, result instanceof MersenneTwisterFast); }