private static ObjectNode get(ObjectNode parent, String childName) {
        JsonNode node = parent.path(childName);
        return node.isObject() && !node.isNull() ? (ObjectNode) node : null;
    }
@Test
    public void testAddressDecode() throws IOException {
        List<ExtensionMappingAddress> addresses =
                getLispExtensionMappingAddresses("LispExtensionMappingAddress.json");

        new EqualsTester()
                .addEqualityGroup(addresses.get(0), listExtAddress)
                .addEqualityGroup(addresses.get(1), segmentExtAddress)
                .addEqualityGroup(addresses.get(2), asExtAddress)
                .addEqualityGroup(addresses.get(3), appDataExtAddress)
                .addEqualityGroup(addresses.get(4), gcExtAddress)
                .addEqualityGroup(addresses.get(5), natExtAddress)
                .addEqualityGroup(addresses.get(6), nonceExtAddress)
                .addEqualityGroup(addresses.get(7), multicastExtAddress)
                .addEqualityGroup(addresses.get(8), teExtAddress)
                .addEqualityGroup(addresses.get(9), srcDstExtAddress)
                .testEquals();
    }