AttributeDefinitionEnumSupport extends EnumSupport { @Override @NotNull public List<ValueWithDisplayString> getAllValues() { List<ValueWithDisplayString> values = new ArrayList<>(); addAttributeDefinitionValues(values); return values; } AttributeDefinitionEnumSupport(@NotNull NlProperty property); @Override @NotNull List<ValueWithDisplayString> getAllValues();  }
@Test public void testFindPossibleValues() { assertThat(mySupport.getAllValues()).containsExactly( new ValueWithDisplayString("item1", "item1"), new ValueWithDisplayString("item2", "item2")).inOrder(); }