@Test
public void testParseTopic() {

    assertThat(new Topic("finance/stock/ibm")).containsToken("finance", "stock", "ibm");
    assertThat(new Topic("/finance/stock/ibm")).containsToken(Token.EMPTY, "finance", "stock", "ibm");
    assertThat(new Topic("/")).containsToken(Token.EMPTY, Token.EMPTY);
}