FilterContext { @Experimental public boolean isSinglePropertyScoped(){ return singlePropertyScoped; } FilterContext(PropertyValue value, Map<String,PropertyValue> configEntries, ConfigurationContext configurationContext);  FilterContext(PropertyValue value, ConfigurationContext configurationContext);  FilterContext(List<PropertyValue> values, ConfigurationContext configurationContext); ConfigurationContext getConfigurationContext(); PropertyValue getProperty(); List<PropertyValue> getAllValues(); @Experimental boolean isSinglePropertyScoped(); @Experimental Map<String, PropertyValue> getConfigEntries(); @Override String toString();  }
@Test public void isSinglePropertyScoped() throws Exception { PropertyValue val = new PropertyValue( "isSinglePropertyScoped", "v"); FilterContext ctx = new FilterContext(val, new HashMap<String,PropertyValue>(), ConfigurationContext.EMPTY); assertThat(ctx.isSinglePropertyScoped()).isEqualTo(false); ctx = new FilterContext(Collections.singletonList(val), ConfigurationContext.EMPTY); assertThat(ctx.isSinglePropertyScoped()).isEqualTo(true); }