@Test
public void abbreviateFqClassname() throws Exception {

    assertEquals("c.a.main", Strings.abbreviateFqClassName("com.acme.main"));
    assertEquals("c.a.main.Main", Strings.abbreviateFqClassName("com.acme.main.Main"));
    assertEquals("c.a.l.p.foo.Bar", Strings.abbreviateFqClassName("com.acme.longer.package.foo.Bar"));
}