@Test
public void getTag() {

    Date test = new Date();
    assertEquals(String.format("%s (%d)", test.getClass().getSimpleName(), test.hashCode()), logger.getTag(test));
    assertEquals("test", logger.getTag("test"));
}