Ejemplo n.º 1
0
 public UntilResponder(
     IOptionalTestResponder responder,
     ITestWaitCondition <T> condition,
     SourceContext sourceContext)
     : base(() => new UntilResponderState <T>(
                "UNTIL",
                responder.CreateState(),
                condition.CreateState(),
                sourceContext))
 {
 }
 public UntilReadyToResponder(
     IOptionalTestResponder respondTo,
     ITestResponder <T> untilReady,
     SourceContext sourceContext)
     : base(() => new UntilResponderState <ITestOperationState <T> >(
                "UNTIL READY TO",
                respondTo.CreateState(),
                untilReady.CreateState(),
                sourceContext))
 {
 }