@Test
public void getPropertyFilters() throws Exception {

    Configuration cfg = new CoreConfigurationBuilder().build();
    PropertyFilter testFilter = new PropertyFilter() {
        @Override
        public PropertyValue filterProperty(PropertyValue value, FilterContext ctx) {
            return value;
        }
    };
    assertThat(cfg.getContext().getPropertyFilters()).isNotNull().doesNotContain(testFilter);
    cfg = cfg.toBuilder().addPropertyFilters(testFilter).build();
    assertThat(cfg.getContext().getPropertyFilters()).contains(testFilter);
}