@Test
public void testRemoveTrailingZeros() throws Exception {

  assertNull(JBBPUtils.removeTrailingZeros(null));
  assertEquals("", JBBPUtils.removeTrailingZeros(""));
  assertEquals("abcdf", JBBPUtils.removeTrailingZeros("abcdf"));
  assertEquals("000000abcdf", JBBPUtils.removeTrailingZeros("000000abcdf"));
  assertEquals("000000a00000bcdf", JBBPUtils.removeTrailingZeros("000000a00000bcdf0000000"));
  assertEquals("0", JBBPUtils.removeTrailingZeros("0000000"));
  assertEquals("0", JBBPUtils.removeTrailingZeros("0"));
  assertEquals("0     ", JBBPUtils.removeTrailingZeros("0     "));
  assertEquals(" 000000     ", JBBPUtils.removeTrailingZeros(" 000000     "));
  assertEquals("10.2", JBBPUtils.removeTrailingZeros("10.20000"));
  assertEquals("1", JBBPUtils.removeTrailingZeros("100"));
}