### Question:
Utils { public static String formatDecimal(BigDecimal pDecimal) { if (pDecimal == null) { return "null"; } return decFmt.format(pDecimal); } 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 testFormatDecimal() { assertEquals("0.00012345", Utils.formatDecimal(BigDecimal.valueOf(0.00012345d))); assertEquals("10.00012345", Utils.formatDecimal(BigDecimal.valueOf(10.00012345d))); assertEquals("0.00012346", Utils.formatDecimal(BigDecimal.valueOf(0.000123459d))); assertEquals("10.00000000", Utils.formatDecimal(BigDecimal.valueOf(10))); }