@Test public void testNullWithinArrays() { final Map<String,Object> data = new HashMap<>(1); final List<Object> arrayNullValues = new ArrayList<>(1); arrayNullValues.add(null); arrayNullValues.add(null); data.put("arrayNullValues", arrayNullValues); MapToEntityConverter converter = new MapToEntityConverter(); Entity entity = converter.fromMap(data, true); assertTrue(entity.getField("arrayNullValues").getTypeName() == FieldTypeName.LIST); List arrayReturned = (List) entity.getField("arrayNullValues").getValue(); assertTrue( arrayReturned.get(0) == null); }
public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); } }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }  }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }  Entity fromMap( Map<String, Object> map,  boolean topLevel ); Entity fromMap(final Entity entity,final  Map<String, Object> map,final
        SchemaManager schemaManager, final String entityType, boolean topLevel); }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }  Entity fromMap( Map<String, Object> map,  boolean topLevel ); Entity fromMap(final Entity entity,final  Map<String, Object> map,final
        SchemaManager schemaManager, final String entityType, boolean topLevel); static final Logger logger; }