@Test
public void formatTBu() {

    List<String> tokens = Arrays.asList("tBu");
    List<AbbreviationLabel.FormattedText> texts = AbbreviationLabel.format(tokens);
    assertThat(texts.size(), is(2));
    assertThat(texts.get(0).text, is("t"));
    assertThat(texts.get(0).style, is(AbbreviationLabel.STYLE_ITALIC));
    assertThat(texts.get(1).text, is("Bu"));
    assertThat(texts.get(1).style, is(AbbreviationLabel.STYLE_NORMAL));
}