ClientIpActivationStrategy implements ActivationStrategy { @Override public String getName() { return "IP address (client)"; }  @Override String getId(); @Override String getName(); @Override boolean isActive(FeatureState featureState, FeatureUser user); @Override Parameter[] getParameters(); static final String ID; static final String PARAM_IPS; }
@Test public void addressParameterProperties() { AddressParameter param = addressParam(); assertThat(param.getDescription()).isNotEmpty(); assertThat(param.getLabel()).isNotEmpty(); assertThat(param.getName()).isEqualTo(ClientIpActivationStrategy.PARAM_IPS); assertThat(param.isLargeText()).isFalse(); assertThat(param.isOptional()).isFalse(); }