UserRoleActivationStrategy implements ActivationStrategy { @Override public String getName() { return NAME; }  @Override String getId(); @Override String getName(); @Override boolean isActive(FeatureState state, FeatureUser user); @Override Parameter[] getParameters(); static final String ID; static final String NAME; static final String PARAM_ROLES_NAME; static final String PARAM_ROLES_LABEL; static final String PARAM_ROLES_DESC; static final String USER_ATTRIBUTE_ROLES; }
@Test void getNameWillReturnConstant() { assertEquals(NAME, activationStrategy.getName()); }