@Test
public void testTimestamp() {

  LogData data = FakeLogData.withPrintfStyle("Foo='%s'", "bar").setTimestampNanos(123456000000L);
  SimpleLogEvent logEvent = newSimpleLogEvent(data);
  assertThat(logEvent.asLoggingEvent().getTimeStamp()).isEqualTo(123456L);
}