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