@Override public DatasetSpecification configure(String instanceName, DatasetProperties properties) { return DatasetSpecification .builder(instanceName, getName()) .setDescription(DESCRIPTION) // This is to test that the dataset summary returned by list() contains the original properties. // Original properties are different from the spec.getProperties() if the configure() method // modifies the original properties. That is what we mimic here. .properties(ImmutableMap.<String, String>builder() .putAll(properties.getProperties()) .put("extra", "value") .build()) .build(); }