DisplayableEnum implements Displayable, Expression<String> { @Override public String use() { return getName(); } DisplayableEnum(String name, Set<String> range); @Override List<Constraint> createConstraint(String value); @Override List<InfoGUI> getInfo(); @Override String getName(); @Override String use(); @Override Expression<String> substitute(String name, Object value); @Override String value();  }
@Test public void use() { assertEquals("test_enum", defaultEnum.use()); }