doesNotContain

fun doesNotContain(substr: String): <Error class: unknown class><String?>

Creates a matcher that checks if a given string does not contain the specified substring.

The check also supports null values, treating them as not containing any substring.

Return

A Matcher instance that evaluates the given condition.

Parameters

substr

The substring to check for.