code: public static void fail(String message, String reason)
    {
      if (message != null && message.length() > 0)
        fail(message + ": " + reason);
      else
        fail(reason);
    }
docs: Fails the test (by throwing an AssertionFailedError).
  
  @param message to display on test failure (may be null)
  @param reason