Summary
Asserts that a string is not empty. If the string is empty
a
TCLite.AssertionException
is thrown, ending
the running test and reporting it as a Failure.
Syntax
public static void IsNotEmpty(string aString, string message = null, params object[] args)
Parameters
Name | Type | Description |
---|---|---|
aString | string | The string to be tested |
message | string | The message to display in case of failure |
args | object[] | Array of objects to be used in formatting the message |
Return Value
Type | Description |
---|---|
void |