Ejemplo n.º 1
0
 protected virtual void VerifySelf()
 {
     if (!this.IsMatched)
     {
         throw MockException.UnmatchedSetup(this);
     }
 }
Ejemplo n.º 2
0
 protected virtual bool TryVerifySelf(out MockException error)
 {
     error = this.WasMatched ? null : MockException.UnmatchedSetup(this);
     return(error == null);
 }
Ejemplo n.º 3
0
 public override MockException TryVerifyAll()
 {
     return(this.invoked ? null : MockException.UnmatchedSetup(this));
 }