Method ForSubStringFound
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForSubStringFound(string, int, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested sub-string was found in the string.
public static DoesNotContainException ForSubStringFound(string expectedSubString, int indexFailurePoint, string @string)
Parameters
expectedSubStringstringThe expected sub-string
indexFailurePointintThe item index for where the item was found
stringstringThe string