@Test
public void testLoggerName2Topic() {

    String topic = SocketCollector.loggerName2Topic("test.[Tomcat].[localhost].[/]");
    Assert.assertEquals("decanter/collect/log/test/Tomcat/localhost", topic);
}