Пример #1
0
 public IRepeatExpectation Throw(Exception exception)
 {
     this.exception = exception;
     expectation    = Create();
     return(this);
 }
Пример #2
0
 IExpectation IRepeatExpectation.Times(int times)
 {
     expectation = Create(times);
     return(this);
 }
Пример #3
0
 public IRepeatExpectation Return <TResult>(TResult result)
 {
     this.result = result;
     expectation = Create();
     return(this);
 }