csUnit Class Library

Assert.DoesNotContain Method

Assert, that a string is not contained in a search string. The search is case sensitive.

Overload List

Assert, that a string is not contained in a search string. The search is case sensitive.

public static void DoesNotContain(string,string);

Assert, that a string is not contained in a search string. The search is case sensitive. This version accepts a custom message.

public static void DoesNotContain(string,string,string);

See Also

Assert Class | csUnit Namespace