Example #1
0
 /// <summary>
 /// Adds a predicate to the stub
 /// </summary>
 /// <param name="predicate">The predicate object designating what the stub will match on</param>
 /// <returns>The stub that the predicate was added to</returns>
 public TcpStub On(PredicateBase predicate)
 {
     Predicates.Add(predicate);
     return this;
 }
Example #2
0
 public NotPredicate(PredicateBase childPredicate)
 {
     ChildPredicate = childPredicate;
 }
Example #3
0
 public NotPredicate(PredicateBase childPredicate)
 {
     ChildPredicate = childPredicate;
 }