}
@Test
public void testElementFactory() throws NoSuchFieldException, FormException {
PropertyElementFactory tested = new PropertyElementFactory();
Element methodElement = tested.create(MethodTestBean.class.getDeclaredField("name"));
Element fieldElement = tested.create(FieldTestBean.class.getDeclaredField("name"));
Assert.assertEquals(PropertyMethodElement.class, methodElement.getClass());
Assert.assertEquals(PropertyFieldElement.class, fieldElement.getClass());
}