Method ForSubStringNotFound
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForSubStringNotFound(string, string?)
Creates a new instance of the ContainsException class to be thrown when the requested sub-string was not found in the string.
public static ContainsException ForSubStringNotFound(string expectedSubString, string? @string)