@Test
public void testLiteral() {

  LogData data = FakeLogData.of("literal message").setLevel(Level.WARNING);
  LogRecord record = SimpleLogRecord.create(data);
  assertThat(record.getLevel()).isEqualTo(Level.WARNING);
  assertThat(record.getMessage()).isEqualTo("literal message");
  assertThat(record.getParameters()).isNull();
  // We'll test these once here as it should be the same for all records.
  assertThat(record.getLoggerName()).isEqualTo(data.getLoggerName());
  assertThat(record.getSourceClassName()).isEqualTo(data.getLogSite().getClassName());
  assertThat(record.getSourceMethodName()).isEqualTo(data.getLogSite().getMethodName());
}