int nbFallenLeaves = Randomizer.randomBetween(0, 40);
Set<TreeLeafState> fallenLeaves = new HashSet<TreeLeafState>(nbFallenLeaves);
for (int i = 0; i < nbFallenLeaves; i++) {
fallenLeaves.add(createRandomTreeLeafState());
}
EnvironmentState environmentState = createRandomEnvironmentState();
PhysicsState physicsState = createRandomPhysicsState();
SynchronizerCoreState synchronizerState = createRandomSynchronizerCoreState();
DateHandlerState dateHandler = createRandomDateHandlerState();
Universe3DState univ3DState = DisplayDataCreatorForTests.createRandomUniverse3DState();
return new UniverseState(trees, fallenLeaves, environmentState, physicsState, synchronizerState, dateHandler,