@Test public void testGetAttributesWhenThereAreReservedAttributes() { reservedAttributeNamesMock(Attribute.SALIENCE.getAttributeName(), Attribute.AGENDA_GROUP.getAttributeName()); final List<String> result = page.getAttributes(); final List<String> expected = attributesList(); expected.remove(Attribute.AGENDA_GROUP.getAttributeName()); expected.remove(Attribute.SALIENCE.getAttributeName()); assertEquals(expected, result); }
List<String> getAttributes() { return removeAttributesAlreadyAdded(rawAttributes()); }
AttributeColumnPage extends BaseDecisionTableColumnPage<AttributeColumnPlugin> { List<String> getAttributes() { return removeAttributesAlreadyAdded(rawAttributes()); } }
AttributeColumnPage extends BaseDecisionTableColumnPage<AttributeColumnPlugin> { List<String> getAttributes() { return removeAttributesAlreadyAdded(rawAttributes()); } @Inject  AttributeColumnPage(final View view,
                               final TranslationService translationService); }
AttributeColumnPage extends BaseDecisionTableColumnPage<AttributeColumnPlugin> { List<String> getAttributes() { return removeAttributesAlreadyAdded(rawAttributes()); } @Inject  AttributeColumnPage(final View view,
                               final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); }
AttributeColumnPage extends BaseDecisionTableColumnPage<AttributeColumnPlugin> { List<String> getAttributes() { return removeAttributesAlreadyAdded(rawAttributes()); } @Inject  AttributeColumnPage(final View view,
                               final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView();  }