@Override
    public MetadataNode child(String name) {
        String value = image.data().get(name);
        if (value == null) return null;
        return new MetadataNode() {
            @Override
            public boolean isDirectory() {
                return false;
            }

            @Override
            public void print(MetadataNodePrinter printer) {
                if (printer.redactionCriteria().
                        shouldRedactConfig(image.resource().type(), name)) {
                    printer.output("[redacted]");
                } else {
                    printer.output(value);
                }
            }
        };
    }
@Test
    public void testUnknownChild() {
        assertNull(NODE.child("also.non.secret"));
    }