MultiLabelAttribute extends ACollectionOfObjectsAttribute<String> implements IMultiLabelAttribute { @Override public List<String> getValues() { return this.domain; } MultiLabelAttribute(final String name, final List<String> domain); @SuppressWarnings("unchecked") @Override boolean isValidValue(final Object value); @Override String getStringDescriptionOfDomain(); @SuppressWarnings("unchecked") @Override IMultiLabelAttributeValue getAsAttributeValue(final Object object); @Override double toDouble(final Object object); @Override String serializeAttributeValue(final Object value); @Override Object deserializeAttributeValue(final String string); @Override List<String> getValues(); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void testGetValues() { assertEquals("The number of values is not correct", VALUES.size(), att.getValues().size()); assertTrue("The set of possible values is not correct", VALUES.containsAll(att.getValues())); }