public static void assertNotInLog(LogRecorder logging, String unexpectedText) {
        assertFalse(
                "The log should not contain '" + unexpectedText + "'",
                logging.getMessages().stream().anyMatch(m -> m.contains(unexpectedText)));
    }
Checks whether {@link LogRecorder} has not recorded the message.
@param logging Logger rule
@param unexpectedText Text to check
test-harness/src/main/java/io/jenkins/plugins/casc/misc/Util.java