public static void doesNotContain(String textToSearch, String substring) {
        doesNotContain(textToSearch, substring,
                "[Assertion failed] - this String argument must not contain the substring [" + substring + "]");
    }
Assert that the given text does not contain the given substring.
<pre class="code">Assert.doesNotContain(name, "rod");</pre>
@param textToSearch the text to search
@param substring the substring to find within the text
src/main/java/org/apache/shiro/lang/util/Assert.java