### Question:
StringUtils { public static String createDataTypeDisplayName(String dataType) { int i = dataType.lastIndexOf('.'); StringBuilder formattedDataType = new StringBuilder(); formattedDataType.append(dataType.substring(i + 1)); formattedDataType.append(" [").append(dataType, 0, i).append("]"); return formattedDataType.toString(); } private  StringUtils(); static String getStringForList(List<? extends Object> objects); static String getStringForList(List<? extends Object> objects, final String delimiter); static String urlEncode(String s); static String urlDecode(String s); static String encode(String s); static String decode(String s); static boolean isEmpty(String value); static boolean nonEmpty(String value); @SuppressWarnings("rawtypes") static boolean isEmpty(Collection collection); @SuppressWarnings("rawtypes") static boolean nonEmpty(Collection collection); static String createDataTypeDisplayName(String dataType); static void setURL(URL u); static final String ALPHA_NUM_REGEXP; static final String ALPHA_NUM_UNDERSCORE_DOT_REGEXP; static final String ALPHA_NUM_SPACE_REGEXP; static final RegExp EXPRESSION; }### Answer:
@Test public void testCreateDataTypeDisplayName() { assertEquals("Chairs [com.test]", StringUtils.createDataTypeDisplayName("com.test.Chairs")); }