Ejemplo n.º 1
0
 internal static ExpectationCommand <T> NegateIfNeeded <T>(this ExpectationCommand <T> cmd, bool negated)
 {
     if (negated)
     {
         cmd = cmd.Negated();
     }
     return(cmd);
 }
Ejemplo n.º 2
0
 public override ExpectationCommand <T> Negated()
 {
     return(new EventuallyCommand <T>(_duration, _inner.Negated()));
 }
 public override ExpectationCommand <T> Negated()
 {
     return(new ComparerCommand <T>(_comparer, _inner.Negated()));
 }
Ejemplo n.º 4
0
 public override ExpectationCommand <T> Negated()
 {
     return(new ConsistentlyCommand <T>(_duration, _inner.Negated()));
 }