code: function (condition, message){
          YUITest.Assert._increment();
          if (!condition){
              throw new YUITest.AssertionError(YUITest.Assert._formatMessage(message, "Assertion failed."));
          }
      }
docs: ------------------------------------------------------------------------- Assertion Methods ------------------------------------------------------------------------- 
  Asserts that a given condition is true. If not, then a YUITest.AssertionError object is thrown
  and the test fails.
  @method assert
  @param {Boolean} condition The condition to test.
  @param {String} message The message to display if the assertion fails.