@Test
void shouldFilterUsingGivenSetSemantics() {

    final SortedSet<String> properties =
            new TreeSet<>(String.CASE_INSENSITIVE_ORDER);
    properties.add("FOO");
    final BodyFilter unit = replaceJsonStringProperty(properties, "XXX");
    final String actual = unit.filter(
            contentType, "{\"foo\":null,\"bar\":null}");
    assertThat(actual, is("{\"foo\":\"XXX\",\"bar\":null}"));
}