@Test
public void testToString() throws Exception {

    Map<String, PropertyValue> config = new HashMap<>();
    for (int i = 0; i < 2; i++) {
        config.put("key-" + i, new PropertyValue("key-" + i, "value-" + i));
    }
    PropertyValue val = new PropertyValue("testToString", "val");
    FilterContext ctx = new FilterContext(val, config, ConfigurationContext.EMPTY);
    String toString = ctx.toString();
    assertThat(toString).isNotNull();
    System.out.println(toString);
    assertThat(toString).contains("FilterContext{value='[val]', configEntries=[",
            "key-0", "key-1").endsWith("}");
}