### Question:
CategoricalValueSchema extends AbstractValueSchema { public SortedSet<String> getNominalValues() { return this.nominalValues; } CategoricalValueSchema(final boolean allowMissing,
                                  final Set<String> nominalValues); SortedSet<String> getNominalValues(); @Override boolean validate(final String value); @Override int hashCode(); @Override boolean equals(final Object obj);  }### Answer:
@Test public void testNominalValues() { assertThat(new CategoricalValueSchema(true, NOMINAL_VALUES).getNominalValues()) .as("The nominal values") .isEqualTo(NOMINAL_VALUES); }