@Test
public void addPropertyFilters_Array() throws Exception {

    PropertyFilter filter1 = (value, ctx) -> value;
    PropertyFilter filter2 = (value, ctx) -> value;
    CoreConfigurationBuilder b = new CoreConfigurationBuilder();
    b.addPropertyFilters(filter1, filter2);
    Configuration cfg = b.build();
    ConfigurationContext ctx = cfg.getContext();
    assertThat(ctx.getPropertyFilters()).hasSize(2).contains(filter1, filter2);
    b = new CoreConfigurationBuilder();
    b.addPropertyFilters(filter1, filter2);
    b.addPropertyFilters(filter1, filter2);
    assertThat(ctx.getPropertyFilters()).hasSize(2);
}