### Question:
FieldAccessor implements Accessor { public String getName() { return propertyName; } FieldAccessor(Class<?> objectClass, String propertyName, Class<?> propertyType); String getName(); Object getValue(Object object); void setValue(Object object, Object newValue);  }### Answer:
@Test public void testConstructor() { FieldAccessor accessor = new FieldAccessor(TstBean.class, "string", String.class); assertEquals("string", accessor.getName()); }