PurposeImpl extends MultiXtendableAttributeImpl implements Purpose { public PurposeImpl(Collection<Value> values, Collection<String> xtendValues) { super(NAME, values, xtendValues); } PurposeImpl(Collection<Value> values, Collection<String> xtendValues); @SuppressWarnings("unchecked") List<Value> getEnumValues();  }
@Test public void testPurposeImpl() { ArrayList<Purpose.Value> values = new ArrayList<Purpose.Value>(); values.add(Purpose.Value.LOCATION); PurposeImpl attr = new PurposeImpl(values, new ArrayList<String>()); assertEquals(values, attr.getEnumValues()); }