src/main/java/org/fest/assertions/error/DescriptionFormatter.java
public String format(Description d) {
    String s = (d != null) ? d.value() : null;
    if (isNullOrEmpty(s)) return "";
    return String.format("[%s] ", s);
  }
public String format(Description d) {
    String s = (d != null) ? d.value() : null;
    if (isNullOrEmpty(s)) return "";
    return String.format("[%s] ", s);
  }
Formats the given <code>{@link Description}</code> by surrounding its text value with square brackets and adding a space at
the end.
@param d the description to format. It can be {@code null}.
@return the formatted description, or an empty {@code String} if the the {@code Description} is {@code null}.