protected function sample(Generator $generator, $times = 10) { return Sample::of($generator, $this->randFunction)->repeat($times); }