### Question:
MetadataExample implements Closeable { public void listProperties () throws IOException { for(Property property : dataset.getProperties()) { System.out.format("%s (%s) - %s%n", property.getName(), property.valueType.name(), property.getDescription()); StringBuilder propertyOutput = new StringBuilder(); for (Value value : property.getValues().getAll()) { propertyOutput.append("\t") .append(truncateToNl(value.getName())); if (value.getDescription() != null) { propertyOutput.append(" - ") .append(value.getDescription()); } propertyOutput.append("\n"); } System.out.println(propertyOutput); propertyOutput.setLength(0); } } MetadataExample(); void listProperties(); @Override void close(); static void main(String[] args);  }### Answer:
@Test public void testListProperties() throws Exception { example.listProperties(); }