### Question:
Util { public static String addForInterface(String interfaceType) { if (interfaceType.contains("<")) { return null; } return shortName(interfaceType); }  static String getNamed(Element p); static String addForInterface(String interfaceType); static String trimMethod(String method);  }### Answer:
@Test public void addForInterface() { assertNull(Util.addForInterface("java.util.List<Some>")); assertEquals("Bar", Util.addForInterface("com.foo.Bar")); }