ConstraintFactory.DoesNotContain(String) Method

Definition

Returns a constraint that fails if the actual value contains the substring supplied as an argument.

public NUnit.Framework.Constraints.SubstringConstraint DoesNotContain (string expected);
member this.DoesNotContain : string -> NUnit.Framework.Constraints.SubstringConstraint

Parameters

expected
String

Returns

Applies to