    @Test
    public void test_lineSeparator_suffix() {


        // Create the log event.
        SimpleMessage message = new SimpleMessage("Hello, World!");
        LogEvent logEvent = Log4jLogEvent
                .newBuilder()
                .setLoggerName(LogstashLayoutTest.class.getSimpleName())
                .setLevel(Level.INFO)
                .setMessage(message)
                .build();

        // Check line separators.
        test_lineSeparator_suffix(logEvent, true);
        test_lineSeparator_suffix(logEvent, false);

    }