EdmEntitySet entitySet = MockFacade.getMockEdm().getDefaultEntityContainer().getEntitySet("Rooms");
InputStream reqContent = createContentAsStream(ROOM_1_NULL_EMPLOYEE_XML);
// execute
XmlEntityConsumer xec = new XmlEntityConsumer();
ODataEntry entry =
xec.readEntry(entitySet, reqContent, EntityProviderReadProperties.init().mergeSemantic(true).build());
// validate
assertNotNull(entry);
Map<String, Object> properties = entry.getProperties();
assertEquals("1", properties.get("Id"));
ODataEntry room = (ODataEntry) properties.get("ne_Employees");
assertNull(room);
}