### Question:
ValueSets extends AbstractValueSets<ValueSet, ValueSets> { public static List<Value> expandValues(ValueSet valueSet) { List<Value> values = new ArrayList<>(); expandValuesIterator(valueSet).forEachRemaining(values::add); return values; } private  ValueSets(SparkSession spark,
      Dataset<UrlAndVersion> members,
      Dataset<Row> valueSets,
      Dataset<Value> values); static ValueSets getDefault(SparkSession spark); static ValueSets getFromDatabase(SparkSession spark, String databaseName); static ValueSets getEmpty(SparkSession spark); @Override ValueSets withValueSets(Dataset<Row> valueSets); static List<Value> expandValues(ValueSet valueSet);  }### Answer:
@Test public void testExpandValues() { ValueSet valueSet = ValueSets.getEmpty(spark) .withValueSets(valueSet("urn:cerner:valueset:valueset", "1")) .getValueSet("urn:cerner:valueset:valueset", "1"); List<Value> values = ValueSets.expandValues(valueSet); Value expectedValue = new Value("urn:cerner:valueset:valueset", "1", "urn:cerner:system", "1", "a"); Assert.assertEquals(1, values.size()); Assert.assertEquals(expectedValue, values.get(0)); }