@SuppressWarnings("unchecked")
@Test
public void testReadEntryRequestWithMapping() throws Exception {
XmlEntityConsumer xec = new XmlEntityConsumer();
EdmEntitySet entitySet = MockFacade.getMockEdm().getDefaultEntityContainer().getEntitySet("Employees");
InputStream content = createContentAsStream(EMPLOYEE_1_XML);
ODataEntry result =
xec.readEntry(entitySet, content, EntityProviderReadProperties.init().mergeSemantic(true).addTypeMappings(
createTypeMappings("Age", Short.class,
"Heidelberg", String.class,