StringAssertions.NotMatch Method
Definition
Asserts that the string does not match the specified regular expression pattern.
public StringAssertionsChain NotMatch(string pattern);
Parameters
| Name | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern the string should not match. |
Returns
A StringAssertionsChain for chaining further assertions.