assertEquals(1, collector.getNumStartEvents());
assertTrue(morphline.process(record));
assertEquals(1, collector.getRecords().size());
JsonNode rootNode = (JsonNode) new ObjectMapper().reader(JsonNode.class).readValues(file).next();
JsonNodeFactory factory = new JsonNodeFactory(false);
assertEquals(Arrays.asList(10), collector.getFirstRecord().get("/docId"));
assertEquals(Arrays.asList(rootNode.get("links")), collector.getFirstRecord().get("/links"));
assertEquals(Arrays.asList(factory.arrayNode()), collector.getFirstRecord().get("/links/backward"));
assertEquals(factory.arrayNode(), rootNode.get("links").get("backward"));
List expected = Arrays.asList(factory.arrayNode().add(20).add(40).add(60).add(true).add(false).add(32767).add(2147483647).add(9223372036854775807L).add(1.23).add(1.7976931348623157E308));
assertEquals(expected, collector.getFirstRecord().get("/links/forward"));
assertEquals(expected, collector.getFirstRecord().get("/links/forward/[]"));
assertEquals(expected, collector.getFirstRecord().get("/links/forward[]"));
assertEquals(Arrays.asList(rootNode.get("name")), collector.getFirstRecord().get("/name"));
assertEquals(Arrays.asList("en-us", "en", "en-gb"), collector.getFirstRecord().get("/name/[]/language/[]/code"));