### Question:
FieldAccessor { public Class<?> getFieldType(final Class<?> beanClass, final String fieldName) { return getAccessor(beanClass).getFieldType(fieldName); } FieldAccessor(); Object read(final Object bean, final String fieldName); void write(final Object bean, final String fieldName, final Object param); Class<?> getFieldType(final Class<?> beanClass, final String fieldName); Field getField(final Class<?> beanClass, final String fieldName);  }### Answer:
@Test public void testFieldType() { final Class<?> clazz = accessor.getFieldType(testBean.getClass(), TestBean.PROP_NAME); Assert.assertEquals(String.class, clazz); }