Map<String, Object> locationData = new HashMap<String, Object>();
locationData.put("Country", "NO");
List<Map<String, Object>> locations = new ArrayList<Map<String, Object>>();
locations.add(locationData);
final ODataResponse response = new JsonEntityProvider().writeFunctionImport(functionImport, locations, null);
assertNotNull(response);
assertNotNull(response.getEntity());
assertNull("EntitypProvider must not set content header", response.getContentHeader());
final String json = StringHelper.inputStreamToString((InputStream) response.getEntity());