Summary
Returns a constraint that succeeds if the actual
value contains the substring supplied as an argument.
- Namespace
- TCLite
.Constraints - Containing Type
- Contains_Syntax
Syntax
public static SubstringConstraint Substring(string expected)
Parameters
| Name | Type | Description |
|---|---|---|
| expected | string |
Return Value
| Type | Description |
|---|---|
| SubstringConstraint |
