void (@NotNull StringBuilder sb, @Nullable String expected, @Nullable String actual) { if (expected == null && actual == null) return; sb.append("Comparison Failure").append(System.lineSeparator()); if (actual == null) { sb.append("Actual [null]"); } else { sb.append("Actual [[").append(actual).append("]]"); } sb.append(System.lineSeparator()); if (expected == null) { sb.append("Expected [null]"); } else { sb.append("Expected [[").append(expected).append("]]"); } sb.append(System.lineSeparator()); }