@Test
public void testTextEvent() throws Exception
{

    Timber.LogEvent event = LogUtil.textEvent(20,
                                              "some.service",
                                              "the.source",
                                              "the message");
    assertEquals(20, event.getLevel());
    assertEquals("some.service", event.getServiceName());
    assertEquals("the.source", event.getSource());
    assertEquals("the message", event.getPayload(0).getPayload().toStringUtf8());
    assertTrue((System.currentTimeMillis() - event.getTimestamp()) < 10);
}