Assert.

IsEmpty(string, string, object[]) Method

Summary

Asserts that a string is empty. If the string is not empty a TCLite.AssertionException is thrown, ending the running test and reporting it as a Failure.
Namespace
TCLite
Containing Type
Assert

Syntax

public static void IsEmpty(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