@Test
void shouldFilterNullProperty() {

    final BodyFilter unit = replaceJsonStringProperty(
            singleton("foo"), "XXX");
    final String actual = unit.filter(
            contentType, "{\"foo\":null,\"bar\":\"public\"}");
    assertThat(actual, is("{\"foo\":\"XXX\",\"bar\":\"public\"}"));
}