@Override
    public MetadataNode child(String name) {
        try {
            Integer brokerId = Integer.valueOf(name);
            BrokerRegistration registration = image.brokers().get(brokerId);
            if (registration == null) return null;
            return new MetadataLeafNode(registration.toString());
        } catch (NumberFormatException e) {
            return null;
        }
    }
@Test
    public void testNode1Child() {
        MetadataNode child = NODE.child("1");
        assertNotNull(child);
        assertEquals("BrokerRegistration(id=1, epoch=1001, " +
            "incarnationId=MJkaH0j0RwuC3W2GHQHtWA, " +
            "listeners=[], " +
            "supportedFeatures={metadata.version: 1-4}, " +
            "rack=Optional.empty, " +
            "fenced=false, " +
            "inControlledShutdown=false, " +
            "isMigratingZkBroker=false, " +
            "directories=[JsnDDNVyTL289kYk6sPzig, anCdBWcFTlu8gE1wP6bh3g])",
            child.stringify());
    }