### Question:
BigDecimalAccessor implements PropertyAccessor<BigDecimal> { @Override public BigDecimal fromString(Class targetClass, String s) { return s != null ? new BigDecimal(s) : null; }  @Override BigDecimal fromBytes(Class targetClass, byte[] bytes); @Override byte[] toBytes(Object object); @Override String toString(Object object); @Override BigDecimal fromString(Class targetClass, String s); @Override BigDecimal getCopy(Object object); BigDecimal getInstance(Class<?> clazz);  }### Answer:
@Test public void testFromString() { Assert.assertNull(accessor.fromString(BigDecimal.class, null)); BigDecimal v1 = new BigDecimal(1111111111); String s = v1.toString(); BigDecimal v2 = accessor.fromString(BigDecimal.class, s); Assert.assertEquals(v1, v2); }