@Test
public void testMarshallEntityWithoutRightAccessType() throws DatatypeConfigurationException {
Date date = new Date();
FieldMapComplex fieldMapComplex = new FieldMapComplex();
fieldMapComplex.setDateValue(date);
fieldMapComplex.setDoubleValue(1.0);
fieldMapComplex.setStringValue("stringValue");
PathFieldSimple simple = new PathFieldSimple();
simple.setSimpleStringContent("simpleStringContent");
fieldMapComplex.setContent(simple);
Parser parser =new Parser();
String xml = parser.encode(fieldMapComplex);