public Generator(int trueAfterTimes, bool throwsException = false) { _trueAfterTimes = trueAfterTimes; _throwsException = throwsException; }