@Test
void shouldFilterNumberProperty() {

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