Assert.assertNull("Should not project id", projected.getField("id"));
Assert.assertEquals("Should project locations map",
record.getField("locations"), toStringMap((Map) projected.getField("locations")));
Map<String, ?> locations = toStringMap((Map) projected.getField("locations"));
Assert.assertNotNull("Should project locations map", locations);
Assert.assertEquals("Should contain L1 and L2",
writeSchema, writeSchema.select("locations.long"), record);
Assert.assertNull("Should not project id", projected.getField("id"));
locations = toStringMap((Map) projected.getField("locations"));
Assert.assertNotNull("Should project locations map", locations);
Assert.assertEquals("Should contain L1 and L2",
locations = toStringMap((Map) projected.getField("locations"));
Assert.assertNotNull("Should project locations map", locations);
Assert.assertEquals("Should contain L1 and L2",