junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java
private static String formatValue(Object value) {
		if (value == null) {
			return null;
		}

		return value instanceof CharSequence ? "\"" + value + "\"" : value.toString();
	}
private static String formatValue(Object value) {
		if (value == null) {
			return null;
		}

		return value instanceof CharSequence ? "\"" + value + "\"" : value.toString();
	}
Format value:
<ul>
<li>Returns {@code null} if {@code value} is null.</li>
<li>Wrapped value inside double quote if it is a string value.</li>
<li>Returns the result of {@code toString} function otherwise.</li>
</ul>

@param value The value to raw.
@return The formatted value.