ConstraintFactory.DoesNotStartWith(String) Method

Definition

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

public NUnit.Framework.Constraints.StartsWithConstraint DoesNotStartWith (string expected);
member this.DoesNotStartWith : string -> NUnit.Framework.Constraints.StartsWithConstraint

Parameters

expected
String

Returns

StartsWithConstraint

Applies to