예제 #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);
 }