Edit

Share via


Is.StringContaining(String) Method

Definition

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

public static NUnit.Framework.Constraints.SubstringConstraint StringContaining (string expected);
static member StringContaining : string -> NUnit.Framework.Constraints.SubstringConstraint

Parameters

expected
String

Returns

Applies to