Example #1
0
 private protected DelegateAssertions(TDelegate @delegate, IExtractExceptions extractor, IClock clock)
     : base(@delegate, extractor, clock)
 {
 }
 public GenericAsyncFunctionAssertions(Func <Task <TResult> > subject, IExtractExceptions extractor, IClock clock)
     : base(subject, extractor, clock)
 {
 }
Example #3
0
 private protected DelegateAssertionsBase(TDelegate @delegate, IExtractExceptions extractor, IClock clock)
     : base(@delegate)
 {
     this.extractor = extractor ?? throw new ArgumentNullException(nameof(extractor));
     Clock          = clock ?? throw new ArgumentNullException(nameof(clock));
 }
Example #4
0
 protected DelegateAssertions(TDelegate @delegate, IExtractExceptions extractor)
     : base(@delegate, extractor, new Clock())
 {
 }
 public AsyncFunctionAssertions(Func <Task> subject, IExtractExceptions extractor)
 {
     this.extractor = extractor;
     Subject        = subject;
 }
Example #6
0
 public FunctionAssertions(Func <T> subject, IExtractExceptions extractor, IClock clock) : base(subject, extractor, clock)
 {
     Subject = subject;
 }
Example #7
0
 public ActionAssertions(Action subject, IExtractExceptions extractor, IClock clock)
     : base(subject, extractor, clock)
 {
 }
 protected DelegateAssertions(TDelegate @delegate, IExtractExceptions extractor) : base(@delegate)
 {
     this.extractor = extractor;
     Subject        = @delegate;
 }
Example #9
0
 public ActionAssertions(Action subject, IExtractExceptions extractor) : base(subject, extractor)
 {
     Subject = subject;
 }
Example #10
0
 public ActionAssertions(Action subject, IExtractExceptions extractor)
     : this(subject, extractor, new Clock())
 {
 }
Example #11
0
 public FunctionAssertions(Func <T> subject, IExtractExceptions extractor) : base(subject, extractor)
 {
     Subject = subject;
 }
 public NonGenericAsyncFunctionAssertions(Func <Task> subject, IExtractExceptions extractor, ITimer timer) : base(subject,
                                                                                                                  extractor)
 {
     this.timer = timer;
 }
 protected internal ActionAssertions(Action subject, IExtractExceptions extractor)
 {
     this.extractor = extractor;
     Subject        = subject;
 }
 public AsyncFunctionAssertions(Func <Task> subject, IExtractExceptions extractor) : this(subject, extractor, new Clock())
 {
 }
 public ActionAssertions(Action subject, IExtractExceptions extractor)
 {
     this.extractor = extractor;
     Subject        = subject;
 }
 public AsyncFunctionAssertions(Func <Task> subject, IExtractExceptions extractor, IClock clock) : base(subject, extractor, clock)
 {
     this.clock = clock;
     Subject    = subject;
 }
Example #17
0
 public DelegateAssertions(Delegate @delegate, IExtractExceptions extractor) : base(@delegate, extractor)
 {
 }
 public GenericAsyncFunctionAssertions(Func <Task <TResult> > subject, IExtractExceptions extractor, ITimer timer) : base(
         subject, extractor)
 {
     this.subject = subject;
     this.timer   = timer;
 }
 public AsyncFunctionAssertions(Func <TTask> subject, IExtractExceptions extractor, IClock clock)
     : base(subject, extractor, clock)
 {
 }
Example #20
0
 protected internal AsyncFunctionAssertions(Func <Task> subject, IExtractExceptions extractor)
 {
     this.extractor = extractor;
     Subject        = subject;
 }
Example #21
0
 private protected DelegateAssertions(TDelegate @delegate, IExtractExceptions extractor, IClock clock) : base(@delegate)
 {
     this.clock     = clock;
     this.extractor = extractor;
     Subject        = @delegate;
 }