### Question:
Convert { public static BigDecimal toVon(String number, Unit unit) { return toVon(new BigDecimal(number), unit); } private  Convert(); static BigDecimal fromVon(String number, Unit unit); static BigDecimal fromVon(BigDecimal number, Unit unit); static BigDecimal toVon(String number, Unit unit); static BigDecimal toVon(BigDecimal number, Unit unit);  }### Answer:
@Test public void testToWei() { assertThat(Convert.toVon("21", Convert.Unit.VON), is(new BigDecimal("21"))); assertThat(Convert.toVon("21", Convert.Unit.KVON), is(new BigDecimal("21000"))); assertThat(Convert.toVon("21", Convert.Unit.MVON), is(new BigDecimal("21000000"))); assertThat(Convert.toVon("21", Convert.Unit.GVON), is(new BigDecimal("21000000000"))); assertThat(Convert.toVon("21", Convert.Unit.MICROLAT), is(new BigDecimal("21000000000000"))); assertThat(Convert.toVon("21", Convert.Unit.MILLILAT), is(new BigDecimal("21000000000000000"))); assertThat(Convert.toVon("21", Convert.Unit.LAT), is(new BigDecimal("21000000000000000000"))); assertThat(Convert.toVon("21", Convert.Unit.KLAT), is(new BigDecimal("21000000000000000000000"))); assertThat(Convert.toVon("21", Convert.Unit.MLAT), is(new BigDecimal("21000000000000000000000000"))); assertThat(Convert.toVon("21", Convert.Unit.GLAT), is(new BigDecimal("21000000000000000000000000000"))); }