new GenerationContext(parameter, new GeneratorRepository(random).register(generator));
thrown.expect(GenerationContext.DiscardRatioExceededException.class);
thrown.expectMessage(String.format(
GenerationContext.DiscardRatioExceededException.MESSAGE_TEMPLATE,
parameter.discardRatio(),
30,
10,
3D));
while (generation.shouldContinue())