/// <summary> /// Initializes a new instance of the <see cref="SuspendTester"/> class. /// </summary> /// <param name="doc">The document which should be suspended/resumed.</param> /// <param name="probabilityToResumeTemporarily">The probability to resume temporarily (0..1).</param> public SuspendTester(ISuspendableByToken doc, double probabilityToResumeTemporarily) { _doc = doc; _probabilityToResumeTemporarily = probabilityToResumeTemporarily; }