boolean (boolean value, @Nullable Object message) { if (!value) { String resultMessage = "Assertion failed"; if (message != null) resultMessage += ": " + message; error(resultMessage, new Throwable(resultMessage)); } return value; }