### Question:
Utils { public static String getSymbol2(String pSymbol) { int sep = pSymbol.indexOf('_'); if (sep > 0) { return pSymbol.substring(sep + 1, pSymbol.length()); } else { int i = pSymbol.endsWith("USDT") ? 4 : 3; return pSymbol.substring(pSymbol.length() - i, pSymbol.length()); } } private  Utils(); static String getSymbol(String pSymbol); static String getSymbol1(String pSymbol); static String getSymbol2(String pSymbol); static BigDecimal parseDecimal(String pString); static String formatDecimal(BigDecimal pDecimal); static String formatPrice(BigDecimal pDecimal, String pSymbol, ExchangeInfo pExchangeInfo); static BigDecimal scalePrice(BigDecimal pDecimal, String pSymbol, ExchangeInfo pExchangeInfo); static String formatQuantity(BigDecimal pQuantity, String pSymbol, ExchangeInfo pExchangeInfo); static BigDecimal scaleQuantity(BigDecimal pDecimal, String pSymbol, ExchangeInfo pExchangeInfo); static void sleep(long pMillis); static String iconUrl(String pSymbol); static String formatEnum(Enum pEnum); static int getQuantityScale(String pSymbol, ExchangeInfo pExchangeInfo); static int getPriceScale(String pSymbol, ExchangeInfo pExchangeInfo);  }### Answer:
@Test public void testGetSymbol2() { assertEquals("symbol2 wrong", "ETH", Utils.getSymbol2("NEOETH")); assertEquals("symbol2 wrong", "ETH", Utils.getSymbol2("IOSTETH")); assertEquals("symbol2 wrong", "ETH", Utils.getSymbol2("NEO_ETH")); assertEquals("symbol2 wrong", "ETH", Utils.getSymbol2("IOST_ETH")); assertEquals("symbol2 wrong", "USDT", Utils.getSymbol2("BTC_USDT")); assertEquals("symbol2 wrong", "USDT", Utils.getSymbol2("BTCUSDT")); }