function assertTrue(expression, message) {
  if (! expression) {
    if (! message) {
      message = "Assertion failed";
    }
    throw new AssertionException("Failed: " + message);
  }
  else {
	  UIALogger.logDebug("AssertTrue: " + message);
  }
}
/**
 * Asserts that the given expression is true and throws an exception with
 * a default message, or the optional +message+ parameter
 */
Asserts that the given expression is true and throws an exception with
a default message, or the optional +message+ parameter
Asserts that the given expression is true and throws an exception with a default message or the optional + message + parameter
function assertTrue(expression, message) {
  if (! expression) {
    if (! message) {
      message = "Assertion failed";
    }
    throw new AssertionException("Failed: " + message);
  }
  else {
	  UIALogger.logDebug("AssertTrue: " + message);
  }
}
function assertTrue ( expression , message ) { if ( ! expression ) { if ( ! message ) { message = "Assertion failed" ; } throw new AssertionException ( "Failed: " + message ) ; } else { UIALogger . logDebug ( "AssertTrue: " + message ) ; } }
Asserts that the given expression is true and throws an exception with
 a default message, or the optional +message+ parameter
Asserts that the given expression is true and throws an exception with a default message or the optional + message + parameter